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