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

//Variable declaration    
h=6.63*10^-34;        //planck's constant(J-sec)
e=1.602*10^-19;        //charge of electron(c)
L=10^-10;        //width(m)
m=9.11*10^-31;    //mass of electron(kg)


//Calculations
E1=h^2/(8*m*e*L^2);     //least energy(eV)

//Result
printf("\n least energy is %0.3f eV",E1)
printf("\n answer in the book is wrong")