summaryrefslogtreecommitdiff
path: root/377/CH6/EX6.2/6_2.sce
blob: 772198890a7f77151191f9399d6ad937c1e28be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);