summaryrefslogtreecommitdiff
path: root/284/CH6/EX6.5/ex_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '284/CH6/EX6.5/ex_5.sce')
-rwxr-xr-x284/CH6/EX6.5/ex_5.sce28
1 files changed, 15 insertions, 13 deletions
diff --git a/284/CH6/EX6.5/ex_5.sce b/284/CH6/EX6.5/ex_5.sce
index 474bb22d1..20dfa6b5d 100755
--- a/284/CH6/EX6.5/ex_5.sce
+++ b/284/CH6/EX6.5/ex_5.sce
@@ -1,14 +1,16 @@
-// Chapter 6_The pn junction
-//Caption_Junction capacitance
-//Ex_5//page 230
-Na=10^16 //acceptor ion concentration
-T=300 //temperature in kelvin
-Nd=10^15
-ni=1.5*(10^10) //intrinsic ion concentration
-Vr=5 //Reverse applied voltage
-Vbi=0.635
-V=Vr+Vbi
-C=(e*eps*Na*Nd/(2*(V)*(Na+Nd)))^0.5
-A=10^-4 //Area of the pn junction
-Ca=A*C*10^12
+// Chapter 6_The pn junction
+//Caption_Junction capacitance
+//Ex_5//page 230
+eps=11.7*8.85*(10^-14);
+e=1.6*(10^-19);
+Na=10^16 //acceptor ion concentration
+T=300 //temperature in kelvin
+Nd=10^15
+ni=1.5*(10^10) //intrinsic ion concentration
+Vr=5 //Reverse applied voltage
+Vbi=0.635
+V=Vr+Vbi
+C=(e*eps*Na*Nd/(2*(V)*(Na+Nd)))^0.5
+A=10^-4 //Area of the pn junction
+Ca=A*C*10^12
printf('The junction capacitance for the given semiconductor is %1.3f pF',Ca) \ No newline at end of file