summaryrefslogtreecommitdiff
path: root/3636/CH10/EX10.6/Ex10_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3636/CH10/EX10.6/Ex10_6.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3636/CH10/EX10.6/Ex10_6.sce')
-rw-r--r--3636/CH10/EX10.6/Ex10_6.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/3636/CH10/EX10.6/Ex10_6.sce b/3636/CH10/EX10.6/Ex10_6.sce
new file mode 100644
index 000000000..fd81492a1
--- /dev/null
+++ b/3636/CH10/EX10.6/Ex10_6.sce
@@ -0,0 +1,38 @@
+clc;
+clear;
+Nd=10^15 //donor atoms in cm^-3
+ni=1.45*10^10 //in cm^-3
+k=8.62*10^-5 //in eV/K
+T=300 //in K
+Const=0.025 //coonstant for kT in eV
+
+//Calculation
+//a)
+n=10^15 //in cm^-3
+p=ni^2/Nd //in cm^-3
+delE=Const*log(n/ni) //in eV
+
+//b)
+n0=10^15 //in cm^-3
+p0=10^12 //in cm^-3
+delE_fni=Const*log(n0/ni) //in eV
+delE_ifp=Const*log(p0/ni) //in eV
+
+//c)
+n1=10^18 //in cm^-3
+p1=10^18 //in cm^-3
+delE_fni1=Const*log(n1/ni) //in eV
+delE_ifp1=Const*log(p1/ni) //in eV
+
+mprintf("a)\nelectron concentration= %.1g cm^-3\n",n)
+mprintf("hole concentration= %.2g cm^-3\n",p)
+mprintf("Fermi level w.r.t intrinsic fermi level= %0.3f eV\n",delE)
+mprintf("b)\nelectron concentration= %.1g cm^-3\n",n0)
+mprintf("hole concentration= %.1g cm^-3\n",p0)
+mprintf("Quasi fermi level for n-type carrier= %0.3f eV\n",delE_fni)
+mprintf("Quasi fermi level for p-type carrier= %0.2f eV\n",delE_ifp)
+mprintf("c)\nelectron concentration= %.1g cm^-3\n",n1)
+mprintf("hole concentration= %.1g cm^-3\n",p1)
+mprintf("Quasi fermi level for n-type carrier= %0.2f eV\n",delE_fni1)
+mprintf("Quasi fermi level for p-type carrier= %0.2f eV\n",delE_ifp1)
+//The answers vary due to round off error