summaryrefslogtreecommitdiff
path: root/3440/CH7/EX7.4/Ex7_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3440/CH7/EX7.4/Ex7_4.sce
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 '3440/CH7/EX7.4/Ex7_4.sce')
-rw-r--r--3440/CH7/EX7.4/Ex7_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3440/CH7/EX7.4/Ex7_4.sce b/3440/CH7/EX7.4/Ex7_4.sce
new file mode 100644
index 000000000..36085533f
--- /dev/null
+++ b/3440/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,17 @@
+clc
+
+T=300 //K
+k=8.617*10^-5 //eV/K
+q=1.6*10**-19 //C
+epsilonx=8.854*10^-14 //F/cm
+ni=9.65*10^9//cm^-3
+ND=2*10^15//cm^-3
+Nc=4.7*10^17//cm^-3
+a=0.6*10^-4
+fbn=0.89//V
+Vp=(q*ND*a^2)/(2*epsilonx*12.4)
+disp(Vp,"Vp in V is=")
+Vn=(k*T)*log(Nc/ND)
+disp(Vn,"Vn in V is=")
+Vbi=fbn-Vn
+disp(Vbi,"Vbi in V is=")