summaryrefslogtreecommitdiff
path: root/2825/CH2/EX2.11/Ex2_11.sce
blob: d9d62f26231949de073e33cfaa70b6d50accf22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//Ex2_11 Pg-91
clc

disp("(a) Hall coefficient is")
disp("      Rh = Eh/(Jx*B)")
Vh=21.4*10^(-3) //hall voltage
b=1.7*10^(-2) //breadth
Eh=Vh/b //electric field
t=0.052*10^(-3) //thickness
I=200*10^(-6) //current
Jx=I/(b*t) //current density
B=0.5 //magnetic field
Rh=Eh/(Jx*B)
printf("\n Hall coefficient = %.6f m^3/C \n\n",Rh)

disp("(b) Electrons per unit volume,")
e=1.6*10^(-19) //electron charge
n=1/(Rh*e) //electrons per unit volume
printf("\n\n Electrons per unit volume = %.0f electrons/m^3 \n\n",n)
V=195*10^(-3) //voltage
I=200*10^(-6) //current  
R=V/I //resistance
disp("Since R=(l/(A*sigma) = (l/(A*e*n*R))")
l=2.65*10^(-2) //length
w=1.7*10^(-2) //width
t=0.052*10^(-3) //thicknes
A=t*w //area
sigma=l/(A*e*n*R) //conductivity
printf("\n\n Conductivity = %.3f m^3/Vs",sigma)