summaryrefslogtreecommitdiff
path: root/377/CH6/EX6.3/6_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH6/EX6.3/6_3.sce')
-rw-r--r--377/CH6/EX6.3/6_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/377/CH6/EX6.3/6_3.sce b/377/CH6/EX6.3/6_3.sce
new file mode 100644
index 000000000..401293f1b
--- /dev/null
+++ b/377/CH6/EX6.3/6_3.sce
@@ -0,0 +1,14 @@
+disp("σn=q*μe*n and σp=q*μh*p");
+n=10^16;p=10^4;
+a=626; //say μe=a
+b=292; //say μh=b
+q=1.6*10^-19;
+c=q*a*n; //say c=σn
+d=q*b*p*10^13; //say d=σp
+printf('\n The value of σn is %f/ohm/cm',c);
+printf('\n The value of σp is %f*10^-13/ohm/cm',d);
+e=c+(d*10^-13); //say e=σ=σn+σp
+A=2*10^-2;
+l=2.5;
+R=l/(e*A);
+printf('\n The value of resistance is %fohm',R); \ No newline at end of file