diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3636/CH6/EX6.6/Ex6_6.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.6/Ex6_6.sce')
-rw-r--r-- | 3636/CH6/EX6.6/Ex6_6.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3636/CH6/EX6.6/Ex6_6.sce b/3636/CH6/EX6.6/Ex6_6.sce new file mode 100644 index 000000000..51a5b17af --- /dev/null +++ b/3636/CH6/EX6.6/Ex6_6.sce @@ -0,0 +1,25 @@ +clc;
+clear;
+Jn=20 //in A/cm^2
+Jp=5 //in A/cm^2
+Va=0.65 //in V
+Dn=25 //in cm^2/s
+Dp=10 ///in cm^2/s
+tau_n0=5*10^-7 //in s
+tau_p0=5*10^-7 //in s
+epsilon_r=11.8 //in F/cm
+epsilon_0=8.85*10^-14 //in F/cm
+e=1.6*10^-19 //in eV
+ni=1.5*10^10 //in cm^-3
+Const=0.0259 //constant for kT/e in V
+
+//Calculation
+Lp=sqrt(Dp*tau_p0) //in cm
+pn0=(Jp*Lp)/(e*Dp*(exp(Va/Const)-1)) //law of mass action in cm^-3
+Nd=(ni^2/pn0)
+Ln=sqrt(Dn*tau_n0) //in cm
+np0=(Jn*Ln)/(e*Dn*(exp((Va/Const))-1)) //in cm^-3
+Na=ni^2/np0
+
+mprintf("Nd= %1.2e cm^-3\n",Nd) //The answers vary due to round off error
+mprintf("Na= %1.2e cm^-3",Na)
|