summaryrefslogtreecommitdiff
path: root/3769/CH23/EX23.3/Ex23_3.sce
blob: 8f5f6ff5b5d10283c90cb773e3c09093253ea343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
h=6.62*10**-34                           //Js
f=880*10**3                              //Hz
E1=10*10**3

//Calculation
E=h*f
n=E1/E

//Result
printf("\n Number of photons emitted per second is %0.3f *10**31 ",n*10**-31)