summaryrefslogtreecommitdiff
path: root/284/CH7/EX7.2/ex_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '284/CH7/EX7.2/ex_2.sce')
-rwxr-xr-x284/CH7/EX7.2/ex_2.sce27
1 files changed, 14 insertions, 13 deletions
diff --git a/284/CH7/EX7.2/ex_2.sce b/284/CH7/EX7.2/ex_2.sce
index 9ec93a934..715749372 100755
--- a/284/CH7/EX7.2/ex_2.sce
+++ b/284/CH7/EX7.2/ex_2.sce
@@ -1,13 +1,14 @@
-// Chapter 7_The pn junction Diode
-//Caption_pn Junction current
-//Ex_2//page 258
-Na=10^16 //acceptor impurity
-Nd=10^16 // donor impurity
-ni=1.5*10^10 //intrinsic concentration
-Dn=25
-Dp=10
-tau_po=5*10^-7
-tau_no=5*10^-7
-epsr=11.7
-Js=e*ni^2*((1/Na*(Dn/tau_no)^0.5)+(1/Nd)*(Dp/tau_po)^0.5)*10^9
-printf('Ideal reverse satureation current density is %f nA/cm',Js)
+// Chapter 7_The pn junction Diode
+//Caption_pn Junction current
+//Ex_2//page 258
+e = 1.6*10^-19;
+Na=10^16 //acceptor impurity
+Nd=10^16 // donor impurity
+ni=1.5*10^10 //intrinsic concentration
+Dn=25
+Dp=10
+tau_po=5*10^-7
+tau_no=5*10^-7
+epsr=11.7
+Js=e*ni^2*((1/Na*(Dn/tau_no)^0.5)+(1/Nd)*(Dp/tau_po)^0.5)*10^9
+printf('Ideal reverse saturation current density is %f nA/cm',Js) \ No newline at end of file