Working pn physics demo