blob: 401293f1b114bc04d2a967e918bf2ae9a29d4a71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
|