summaryrefslogtreecommitdiff
path: root/1223/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH1/EX1.3/Ex1_3.sce')
-rwxr-xr-x1223/CH1/EX1.3/Ex1_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1223/CH1/EX1.3/Ex1_3.sce b/1223/CH1/EX1.3/Ex1_3.sce
new file mode 100755
index 000000000..112b5f20e
--- /dev/null
+++ b/1223/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,11 @@
+clear;
+clc;
+//Example1.3
+T=300;//(°K)Given Temperature
+Na=10^16;//(cm^-3)Acceptor concentration in p region
+Nd=10^17;//(cm^-3)Donor concentration in n region
+n_i=1.5*10^10;//(cm^-3)intrinsic carrier concentration
+V_T=0.026;//(Volt)terminal voltage
+//built-in potential
+V_bi=V_T*log(Na*Nd/(n_i)^2);
+printf('\nthe built-in potential=%f V',V_bi)