summaryrefslogtreecommitdiff
path: root/3665/CH6/EX6.9/Ex6_9.sce
blob: 6f6d9d925e8be9e83576c7c38f96d2a7241af6b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc//
//
//

//Variable declaration
m=9.1*10^-31;     //mass of electron(kg)
h=6.626*10^-34;    //planck's constant
n=1;
L=4*10^-10;      //side(m) 

//Calculation
E1=n^2*h^2/(8*m*L^2);    //lowest energy of electron(joule)


//Result
printf("\n lowest energy of electron is %0.3f *10^-18 joule",E1*10^18)
printf("\n answer varies due to rounding off errors")