summaryrefslogtreecommitdiff
path: root/3636/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3636/CH5/EX5.2/Ex5_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3636/CH5/EX5.2/Ex5_2.sce b/3636/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..b138df010
--- /dev/null
+++ b/3636/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,11 @@
+clc;
+clear;
+Na=5*10^18 //doping densities in cm^-3
+Nd=5*10^15 //in cm^-3
+ni=1.5*10^10 //in cm^-3
+Const=0.026//constant for kT/e in V
+
+//Calculation
+Vbi=Const*log((Na*Nd)/ni^2)
+
+mprintf("built-in potential= %0.3f V",Vbi) //The answers vary due to round off error