// Additional solved examples , Example 11 , pg 335 c=3*10^8 //speed of light(in m/sec) h=6.625*10^-34//planck's constant(in J s) lam=1.4*10^-10//wavelength(in m) E=(h*c)/(lam*1.6*10^-19) //energy of photon(in eV) p=h/lam //momentum of photon printf("Energy of photo\n") printf("E=%.1f eV\n",E) printf("momentum of photon(in Kg m/sec)\n") disp(p)