summaryrefslogtreecommitdiff
path: root/377/CH12/EX12.6/12_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH12/EX12.6/12_6.sce')
-rw-r--r--377/CH12/EX12.6/12_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/377/CH12/EX12.6/12_6.sce b/377/CH12/EX12.6/12_6.sce
new file mode 100644
index 000000000..0ae6bf52d
--- /dev/null
+++ b/377/CH12/EX12.6/12_6.sce
@@ -0,0 +1,13 @@
+disp("Ef=(Ec/q)+(K*T/q)*log(Nd/Nc)");
+d=0.026; //say d=K*T/q
+Nd=10^16;
+Nc=2.8*10^19;
+c=d*log(Nd/Nc); //say c=(K*T/q)*log(Nd/Nc)
+printf('\n The value is Ef is Ec/q%f V',c);
+Vbi=0.7-(-c);
+printf('\n The value is Vbi is %f V',Vbi);
+q=1.6*10^-19;
+c=11.9*8.854*10^-14; //say c=Єs
+Vp=0.796;
+a=sqrt(Vp*2*c/(q*Nd));
+printf('\n The value of a is %f μm',a*10^4); \ No newline at end of file