summaryrefslogtreecommitdiff
path: root/3755/CH6/EX6.10/Ex6_10.sce
blob: f200b33dfa38dd1921197cd73a5df3ec4919381e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear
//
//
//

//Variable declaration    
h=6.6*10^-34;        //planck's constant(J-sec)
m=9.1*10^-31;    //mass of electron(kg)
c=3*10^8;      //velocity of light(m/sec)
lamda=0.82*10^-10;    //wavelength(m)

//Calculations
E=h*c/lamda;          //energy(J)
lamda=h*10^10/sqrt(2*m*E);     //wavelength of photo-electron(angstrom)

//Result
printf("\n wavelength of photo-electron is %0.1f angstrom",lamda)