summaryrefslogtreecommitdiff
path: root/2672/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2672/CH5/EX5.2/Ex5_2.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 '2672/CH5/EX5.2/Ex5_2.sce')
-rwxr-xr-x2672/CH5/EX5.2/Ex5_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2672/CH5/EX5.2/Ex5_2.sce b/2672/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..30973afc2
--- /dev/null
+++ b/2672/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,19 @@
+//Example 5_2
+clc;
+clear;
+close;
+format('e',9);
+//given data :
+ND=10^16;//cm^-3
+A=4*10^-4;//cm^2
+NA=5*10^18;//cm^-3
+T=300;//K
+epsilon0=8.85*10^-14;//vaccum permittivity
+epsilonr=11.8;//relative permittivity
+e=1.6*10^-19;//C/electron
+ni=1.5*10^10;//cm^-3
+kBT=0.0259;//eV//at room temperture
+V0=kBT*log(NA*ND/ni^2);//V
+W=sqrt(2*epsilonr*epsilon0*V0/e*(1/NA+1/ND));//cm
+disp(W,"Width of depletion zone(cm)");
+///Answer in the texbook is not accurate.Calculation mistake in W.