summaryrefslogtreecommitdiff
path: root/3401/CH8/EX8.7/ex8_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3401/CH8/EX8.7/ex8_7.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 '3401/CH8/EX8.7/ex8_7.sce')
-rwxr-xr-x3401/CH8/EX8.7/ex8_7.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3401/CH8/EX8.7/ex8_7.sce b/3401/CH8/EX8.7/ex8_7.sce
new file mode 100755
index 000000000..c6c994d59
--- /dev/null
+++ b/3401/CH8/EX8.7/ex8_7.sce
@@ -0,0 +1,18 @@
+clc
+
+T=300 //K
+k=8.617*10**-5//eV/K
+e=1.6*10**-19 //C
+Na=10**16 //cm^-3
+Nd=10**16 //cm^-3
+ni=1.5*10**10 //cm^-3
+tau0=5*10^-7 //s
+eps=11.7
+//Vbr+Vr=z
+z=5 //V
+
+W=sqrt(((2*eps))*((Na+Nd)/Na*Nd)*z)
+disp(W,"depletion width in cm is= ")// textbook ans is wrong
+
+Jgen=(e*ni*W)/(2*tau0)
+disp(Jgen,"generation current density in A/cm^2 is= ")// textbook ans is wrong