summaryrefslogtreecommitdiff
path: root/3401/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3401/CH4/EX4.1/Ex4_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3401/CH4/EX4.1/Ex4_1.sce')
-rwxr-xr-x3401/CH4/EX4.1/Ex4_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3401/CH4/EX4.1/Ex4_1.sce b/3401/CH4/EX4.1/Ex4_1.sce
new file mode 100755
index 000000000..ed6e6fe84
--- /dev/null
+++ b/3401/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,16 @@
+clc
+
+T=300 //K
+Nc=2.8*10^19 //cm^-3
+k=8.617 *10^-5 //eV K^-1
+//E=Ec
+//a=Ec-Ef
+a=-0.25
+//fF(E)=1/(1+exp(Ec-Ef/kT)) =exp(-(Ec-Ef)/kT)
+//b=k*T
+//disp(b)
+c=k*T
+fFE=exp(a/c)
+disp(fFE,"fF(E) value is=")
+n0=Nc*exp(-a/(k*T))
+disp(n0,"n0 value in cm^-3 is")