summaryrefslogtreecommitdiff
path: root/2594/CH5/EX5.28
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.28
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.28')
-rwxr-xr-x2594/CH5/EX5.28/Ex5_28.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2594/CH5/EX5.28/Ex5_28.sce b/2594/CH5/EX5.28/Ex5_28.sce
new file mode 100755
index 000000000..32602b4a5
--- /dev/null
+++ b/2594/CH5/EX5.28/Ex5_28.sce
@@ -0,0 +1,27 @@
+clc
+Na=1*10^16
+disp("Na = "+string(Na)+"cm^3") //initializing value of acceptor concentration.
+Nd=5*10^16
+disp("Nd = "+string(Nd)+"cm^3") //initializing value of donor concentration .
+no=1.5*10^10
+disp("no = "+string(no)+"cm^-3") //initializing value of intrinsic concentration.
+Dn=25
+disp("Dn = "+string(Dn)+"cm^2/sec") //initializing value of diffusion cofficient on the P side.
+Dp=10
+disp("Dp = "+string(Dp)+"cm^2/sec") //initializing value of diffusion cofficient on the N side.
+tp=5*10^-7
+disp("tn = "+string(tp)+"s") //initializing value of hole lifetime.
+tn=5*10^-7
+disp("tp = "+string(tn)+"s") //initializing value of electron lifetime.
+e=1.6*10^-19
+disp("e = "+string(e)+"columns") //initializing value of charge of electrons.
+Pno=(no^2/Nd)
+disp("Pno=(no^2/Nd))="+string(Pno)+"cm^-3")//calculation.
+Npo=(no^2/Na)
+disp("Npo=(no^2/Na))="+string(Npo)+"cm^-3")//calculation.
+Lp=(sqrt(Dp*tp))
+disp("Lp=(sqrt(Dp*tp)))="+string(Lp)+"cm")//calculation.
+Ln=(sqrt(Dn*tn))
+disp("Ln=(sqrt(Dn*tn)))="+string(Ln)+"cm")//calculation.
+Jo=((e*((Dp*Pno/(Lp))+(Dn*Npo)/(Ln))))
+disp("Jo=((e*((Dp*Pno/(Lp))+(Dn*Npo)/(Ln))))="+string(Jo)+" A/cm^2")//calculation.