summaryrefslogtreecommitdiff
path: root/377/CH10/EX10.5/10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH10/EX10.5/10_5.sce')
-rw-r--r--377/CH10/EX10.5/10_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/377/CH10/EX10.5/10_5.sce b/377/CH10/EX10.5/10_5.sce
new file mode 100644
index 000000000..50eee10c0
--- /dev/null
+++ b/377/CH10/EX10.5/10_5.sce
@@ -0,0 +1,11 @@
+a=500; //say a=μh
+b=0.5; //say b=ρb
+q=1.6*10^-19;
+disp("Na=1/(q*μh*ρb);");
+Na=1/(q*a*b);
+printf('\n The value of Na is %f*10^16/cm^3',Na/10^16);
+Wb=10^-4;
+c=8.854*12*10^-14; //say c=Єs
+disp("Vb=q*Na*(Wb^2)/(2*Єs)");
+Vb=q*Na*(Wb^2)/(2*c);
+printf('\n The value of Vb is %fV',Vb); \ No newline at end of file