summaryrefslogtreecommitdiff
path: root/339/CH6/EX6.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /339/CH6/EX6.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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