summaryrefslogtreecommitdiff
path: root/339/CH6/EX6.2
diff options
context:
space:
mode:
Diffstat (limited to '339/CH6/EX6.2')
-rwxr-xr-x339/CH6/EX6.2/ex6_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/339/CH6/EX6.2/ex6_2.sce b/339/CH6/EX6.2/ex6_2.sce
new file mode 100755
index 000000000..fb8d272e4
--- /dev/null
+++ b/339/CH6/EX6.2/ex6_2.sce
@@ -0,0 +1,11 @@
+// doping concentrations
+Na=1*10^18;
+Nd=5*10^15;
+//intrinsic concentrations
+ni=1.5*10^10;
+T=300;
+term=(Na*Nd)/(ni*ni);
+k=1.38*10^-23;
+q=1.6*10^-19;
+Vdiff=(k*T)*log(term)/q;
+disp("Volts",Vdiff,"Barrier voltage"); \ No newline at end of file