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

//Variable declaration    
h=6.63*10^-34;        //planck's constant(J-sec)
m=9.1*10^-31;    //mass of electron(kg)
lamda=5896*10^-10;        //de-broglie wavelength(m)
e=1.6*10^-19;        //charge of electron(c)

//Calculations
K=h^2/(2*m*lamda^2);      //energy of electron(J)
K=K/e;               //kinetic energy of electron(eV)

//Result
printf("\n kinetic energy of electron is %0.2f *10^-6 eV",K*10^6)