summaryrefslogtreecommitdiff
path: root/377/CH11/EX11.5/11_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH11/EX11.5/11_5.sce')
-rw-r--r--377/CH11/EX11.5/11_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/377/CH11/EX11.5/11_5.sce b/377/CH11/EX11.5/11_5.sce
new file mode 100644
index 000000000..9f4dacf9a
--- /dev/null
+++ b/377/CH11/EX11.5/11_5.sce
@@ -0,0 +1,15 @@
+k=0.026; //say k=K*T/q
+Na=5*10^16;
+Nd=5*10^18;
+ni=1.5*10^10;
+Vbi=k*log(Na*Nd/ni^2);
+printf('\n The value of built-in-potential is %fV',Vbi);
+q=1.6*10^-19;
+a=0.25*10^-4;
+c=11.9*8.854*10^-14; //say c=Єs
+Vp=q*Na*(a^2)/(2*c);
+printf('\n The value of pinch-off voltage is %fV',Vp);
+Vg=1;
+disp("b=sqrt(2*Єs*(Vbi+Vg)/(q*Na))");
+b=sqrt(2*c*(Vbi+Vg)/(q*Na));
+printf('\n The depletion width is %f μm',b*10^4); \ No newline at end of file