summaryrefslogtreecommitdiff
path: root/377/CH4/EX4.8/4_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH4/EX4.8/4_8.sce')
-rw-r--r--377/CH4/EX4.8/4_8.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/377/CH4/EX4.8/4_8.sce b/377/CH4/EX4.8/4_8.sce
new file mode 100644
index 000000000..b38382745
--- /dev/null
+++ b/377/CH4/EX4.8/4_8.sce
@@ -0,0 +1,8 @@
+disp("(E-Ef)=3*K*T");
+T=300;
+K=1.38*(10^-23);
+a=3*K*T;
+b=K*T;
+c=1/(1+exp(a/b)); //say probability,f(E)=c
+d=c*100;
+printf('the probablity that an energy level 3*K*T above the fermi level Ef is occupied by an electron at T=300k is %f percent',d); \ No newline at end of file