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