summaryrefslogtreecommitdiff
path: root/3769/CH23/EX23.14/Ex23_14.sce
blob: e2380bde52485d370953459686ea339776e87063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
h=6.625*10**-34
c=3*10**8
l=5600*10**-10
a=5

//Calculation
E=(h*c)/l
n=a/E

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