diff options
Diffstat (limited to '2102/CH2/EX2.28/exa_2_28.sce')
-rwxr-xr-x | 2102/CH2/EX2.28/exa_2_28.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2102/CH2/EX2.28/exa_2_28.sce b/2102/CH2/EX2.28/exa_2_28.sce new file mode 100755 index 000000000..5a7d0ceca --- /dev/null +++ b/2102/CH2/EX2.28/exa_2_28.sce @@ -0,0 +1,14 @@ +// Exa 2.28
+clc;
+clear;
+close;
+// Given data
+format('v',13)
+Eg= 0.72;// in eV
+Ef= Eg/2;//in eV
+K= 8.61*10^-5;// in eV/K
+T=300;//in K
+nc= 1;
+n= 1+%e^((Eg-Ef)/(K*T));
+ncBYn= nc/n;
+disp(ncBYn,"The fraction of the total number or electrons is : ")
|