summaryrefslogtreecommitdiff
path: root/3020/CH17/EX17.5/ex17_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH17/EX17.5/ex17_5.sce')
-rwxr-xr-x3020/CH17/EX17.5/ex17_5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3020/CH17/EX17.5/ex17_5.sce b/3020/CH17/EX17.5/ex17_5.sce
new file mode 100755
index 000000000..8e01955fa
--- /dev/null
+++ b/3020/CH17/EX17.5/ex17_5.sce
@@ -0,0 +1,10 @@
+clc;
+clear all;
+Ed=0.01;//difference between energy level to fermi level
+Ed1=Ed*1.6e-19;//convertion from eV to J
+T=200;//temperature in kelvin
+k=1.38e-23;//boltzmann constant
+x=Ed1/(k*T);//temporary variable
+F=1/(1+exp(x));//fermi distribution function
+disp('',F,'fermi distribution function is:')
+