diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1730/CH3/EX3.28/Exa3_28.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1730/CH3/EX3.28/Exa3_28.sce')
-rwxr-xr-x | 1730/CH3/EX3.28/Exa3_28.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1730/CH3/EX3.28/Exa3_28.sce b/1730/CH3/EX3.28/Exa3_28.sce new file mode 100755 index 000000000..3f1ef6ff9 --- /dev/null +++ b/1730/CH3/EX3.28/Exa3_28.sce @@ -0,0 +1,25 @@ +//Exa3.28
+clc;
+clear;
+close;
+// given data'
+format('v',13)
+N_D=10^17*10^6;// in m^-3
+N_A=0.5*10^16*10^6;// in atoms/m^3
+epsilon_r=10;// in F/m
+epsilon_o=8.85*10^-12;// in F/m
+epsilon=epsilon_r*epsilon_o;
+e=1.602*10^-19;// in C (electron charge)
+// (i) when no external voltage is applied i.e.
+V=0;
+V_B=0.7;// in V
+W=sqrt(2*epsilon*V_B/e*(1/N_A+1/N_D));
+disp("Junction width is : "+string(W)+" m");
+// (ii) when external voltage of -10 V is applied i.e.
+V=-10;// in V
+V_o=0.7;// in V
+V_B=V_o-V;
+W=sqrt(2*epsilon*V_B/e*(1/N_A+1/N_D));
+disp("Junction width is : "+string(W)+" m");
+
+// Note: Answer in the book is wrong
|