summaryrefslogtreecommitdiff
path: root/377/CH12/EX12.4/12_4.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /377/CH12/EX12.4/12_4.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '377/CH12/EX12.4/12_4.sce')
-rw-r--r--377/CH12/EX12.4/12_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/377/CH12/EX12.4/12_4.sce b/377/CH12/EX12.4/12_4.sce
new file mode 100644
index 000000000..954a18141
--- /dev/null
+++ b/377/CH12/EX12.4/12_4.sce
@@ -0,0 +1,19 @@
+disp("Ef=(Ec/q)+(K*T/q)*log(Nd/Nc)");
+d=0.026; //say d=K*T/q
+Nd1=2*10^16;
+Nc=4.45*10^17;
+c1=d*log(Nd1/Nc); //say c1=(K*T/q)*log(Nd1/Nc)
+printf('\n The value is Ef1 is Ec/q%f V',c1);
+Vbi1=0.8-(-c1);
+printf('\n The value is Vbi1 is %f V',Vbi1);
+e1=13.2*8.854*10^-14;
+b1=sqrt(2*e1*Vbi1/(q*Nd1));
+printf('\n The value is b1 is %f μm',b1*10^4);
+Nd2=2*10^17;
+c2=d*log(Nd2/Nc); //say c2=(K*T/q)*log(Nd2/Nc)
+printf('\n The value is Ef2 is Ec/q%f V',c2);
+Vbi2=0.8-(-c2);
+printf('\n The value is Vbi2 is %f V',Vbi2);
+e2=12.2*8.854*10^-14;
+b2=sqrt(2*e2*Vbi2/(q*Nd2));
+printf('\n The value is b2 is %f μm',b2*10^4); \ No newline at end of file