diff options
Diffstat (limited to '1223/CH1/EX1.4/Ex1_4.sce')
-rwxr-xr-x | 1223/CH1/EX1.4/Ex1_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1223/CH1/EX1.4/Ex1_4.sce b/1223/CH1/EX1.4/Ex1_4.sce new file mode 100755 index 000000000..05f639543 --- /dev/null +++ b/1223/CH1/EX1.4/Ex1_4.sce @@ -0,0 +1,19 @@ +clear;
+clc;
+//Example 1.4
+T=300;//(°K)Given Temperature
+Na=10^16;//(cm^-3)Acceptor concentration in p region
+Nd=10^15;//(cm^-3)Donor concentration in n region
+n_i=1.5*10^10;//(cm^-3)intrinsic carrier concentration
+C_jo=0.5;//(pF)junction capacitance at zero applied voltage
+V_T=0.026;//(Volt)terminal voltage
+//built-in potential
+V_bi=V_T*log(Na*Nd/(n_i)^2);
+disp(V_bi,"the built-in potential(V)")
+//the junction capacitance for
+V_R=1;//(V)reverse bias voltage
+Cj=C_jo*(1+V_R/V_bi)^(-1/2);
+printf('\nthe junction capacitance for V_R=1V=%f pF\n',Cj)
+V_R=5;//(V)reverse bias voltage
+Cj=C_jo*(1+V_R/V_bi)^(-1/2);
+printf('\nthe junction capacitance for V_R=5V =%f pF',Cj)
|