summaryrefslogtreecommitdiff
path: root/3755/CH5/EX5.7/Ex5_7.sce
blob: 3f57c354b74c9b17c32c2c45fb6c12626cfffa1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//
//
//

//Variable declaration    
e=1.6*10^-19;     //charge(coulomb)
m=9*10^-31;       //mass(kg)
h=6.624*10^-34;    //plank's constant(Js)
n=5.86*10^28;      //density(electrons/m^3)
k=8.6*10^-5;

//Calculations
ef=(h^2/(8*m))*(3*n/%pi)^(2/3);     //energy(J)
ef=ef/e;           //energy(eV)
theta_f=ef/k;      //maximum kinetic energy(K)

//Result
printf("\n maximum kinetic energy is %0.2f *10^4 K",theta_f/10^4)