summaryrefslogtreecommitdiff
path: root/2594/CH5/EX5.21/Ex5_21.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2594/CH5/EX5.21/Ex5_21.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 '2594/CH5/EX5.21/Ex5_21.sce')
-rwxr-xr-x2594/CH5/EX5.21/Ex5_21.sce36
1 files changed, 36 insertions, 0 deletions
diff --git a/2594/CH5/EX5.21/Ex5_21.sce b/2594/CH5/EX5.21/Ex5_21.sce
new file mode 100755
index 000000000..54c603671
--- /dev/null
+++ b/2594/CH5/EX5.21/Ex5_21.sce
@@ -0,0 +1,36 @@
+clc
+Vbi=1.2
+disp("Vbi = "+string(Vbi)+"/cm^3") //initializing value of built in voltage.
+no=1.8*10^6
+disp("no = "+string(no)+"cm^-3") //initializing value of intrinsic concentration.
+Vt=0.0259
+disp("Vt = "+string(Vt)+" eV") //initializing value of thermal voltage.
+Er=13.1
+disp("Er = "+string(Er)) //initializing value of relative dielectric permittivity constant .
+Eo=8.854*10^-14
+disp("Eo = "+string(Eo)+" F/cm") //initializing value of permittivity of free space.
+e=1.6*10^-19
+disp("e = "+string(e)+" columbs") //initializing value of charge of electrons.
+E=Eo*Er
+disp("total permittivity,E=Eo*Er="+string(E)+" F/cm")//calculation.
+NaNd=((no^2)*(exp(Vbi/Vt)))
+disp("(a)NaNd=((no^2)*(exp(Vbi/Vt)))="+string(NaNd)+" /cm^6")//calculation.
+Na=(sqrt(NaNd/(4)))
+disp("Na=(sqrt(NaNd/(4)))="+string(Na)+" /cm^3")//calculation.
+Nd=4*Na
+disp("(b)Nd=4*Na="+string(Nd)+" /cm^3")//calculation.
+W=sqrt((2*E*Vbi/e)*((Nd+Na)/(Na*Nd)))
+disp("(c)W=sqrt((2*E*Vbi/e)*((Nd+Na)/(Na*Nd))))="+string(W)+" cm")//calculation.
+xn=0.2*W
+disp("(d)xn=0.2*W="+string(xn)+" cm")//calculation.
+xp=0.8*W
+disp("xp=0.8*W="+string(xp)+" cm")//calculation.
+Emax=(-e*Nd*xn)/E
+disp("(e)Emax=(-e*Nd*xn)/E)="+string(Emax)+"V/cm")//calculation.
+//The value of Na after calculation is provided wrong in the book.Due to which value of W,xn,xp and Emax differ ,than the answer provided in the book.
+
+
+
+
+
+