summaryrefslogtreecommitdiff
path: root/3636/CH6/EX6.3/Ex6_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3636/CH6/EX6.3/Ex6_3.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/CH6/EX6.3/Ex6_3.sce')
-rw-r--r--3636/CH6/EX6.3/Ex6_3.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/3636/CH6/EX6.3/Ex6_3.sce b/3636/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..44e7ee7b5
--- /dev/null
+++ b/3636/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,34 @@
+clc;
+clear;
+sigma_p=1000 //conductivity of p-junction in ohm^-1*m^-1
+sigma_n=20 //conductivity of n-junction in ohm^-1*m^-1
+myu_p=0.05 //in m^2/V*s
+myu_n=0.13 //in m^2/V*s
+K=8.61*10^-5 //Boltzmann constant in eV/K
+T=300 //in K
+V=0.4 //forward bias voltage in V
+e=1.602*10^-19 //in J
+ni=1.5*10^16 //in m^-3
+tau_n=10^-6 //minority carrier lifetime in s
+tau_p=5*10^-6 //in s
+Const=0.026 //constant for kT/e in V
+hole_current=0.603*10^-6 //in A
+electron_current=0.016*10^-6 //in A
+
+//Calculation
+pp0=sigma_p/(e*myu_p) //majority carrier densities in m^-3
+nn0=sigma_n/(e*myu_n) //in m^-3
+np0=ni^2/pp0 //minority carrier densities in m^-3
+pn0=ni^2/nn0 //in m^-3
+Dn=myu_n*K*T //in m^2/s
+Dp=myu_p*K*T //in m^2/s
+Ln=sqrt(Dn*tau_n) //in m
+Lp=sqrt(Dp*tau_p) //in m
+Js=(((e*np0*Ln)/tau_n)+((e*pn0*Lp)/tau_p))
+Ratio=(hole_current)/(electron_current)
+J=Js*(exp(V/Const)-1)
+
+mprintf("1)\nReverse bias stauration current density= %0.3e A/m^2\n",Js) //The answers vary due to round off error
+mprintf("2)\nRatio of hole to electron current= %2.2f \n",Ratio)
+mprintf("3)\nTotal current density= %2.2f A/m^2",J) //The answers vary due to round off error
+