summaryrefslogtreecommitdiff
path: root/1664/CH8/EX8.3/Ex8_3.sce
blob: 538cd8f3d16546365a31aed889e9afe4c932987c (plain)
1
2
3
4
5
6
7
8
9

//Example No.8.3.
//Page No.231.
clc;clear;
T = 1262;//Temperature -[K].
k = 1.38*10^(-23);//Boltzman's constant.
E = 0.5*1.6*10^(-19);//Here E= E-Ef.
f = 1/(1+exp(E/(k*T)));//'f' is the probability  of occupation of electron at 989 degree celcius.
printf("\nThe probability  of occupation of electron at 989 degree celcius is %.2f",f);