summaryrefslogtreecommitdiff
path: root/1952/CH12/EX12.4/Ex4.sce
blob: c62d29c9f905a75f0a03dd8904e844213c832e70 (plain)
1
2
3
4
5
6
7
8
9
10
// Additional solved examples , Example 4 , pg 331
lam=632.8*10^-9//wavelength(in m)
Em=3.16*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)