blob: 5b8a6d660168a53abeec25abe7633b434778a052 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Additional solved examples , Example 5 , pg 332
lam=540*10^-9//wavelength(in m)
Em=5*10^-3*60//energy emitted per minute(in J/min)
c=3*10^8//speed of light(in m/s)
h=6.625*10^-34//plancks constant(in Js)
n=c/lam //frequency of emitted photons(in Hz)
E=h*n //energy of each photon(in J)
N=Em/E //number of photons emitted per minute
printf("Number of photons emitted per minute")
disp(N)
|