summaryrefslogtreecommitdiff
path: root/3401/CH6/EX6.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3401/CH6/EX6.6
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/CH6/EX6.6')
-rwxr-xr-x3401/CH6/EX6.6/Ex6_6.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3401/CH6/EX6.6/Ex6_6.sce b/3401/CH6/EX6.6/Ex6_6.sce
new file mode 100755
index 000000000..1e0de9083
--- /dev/null
+++ b/3401/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,22 @@
+clc
+
+T=300//K
+k=8.617*10**-5//eV/K
+e=1.6*10**-19 //C
+n0=10^15 //cm^-3
+p0=10^5 //cm^-3
+ni=10^10 //cm^-3
+deltan=10**13 //cm**-3
+deltap=10**13 //cm**-3
+
+//Ef-Efi=a
+a=(k*T)*log(n0/ni)
+disp(a,"fermi level for thermal equlibrium in eV is= ")
+
+//Efn-Efi=b
+b=(k*T)*log((n0+deltan)/ni)
+disp(b,"quasi fermi level for electrons in eV is= ")
+
+//Efi-Efp=c
+c=(k*T)*log((p0+deltap)/ni)
+disp(c,"quasi fermi level for holes in eV is= ")