blob: 046ebb3ae072c363b654e8367300b4b9bab485c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
//
//
//
//Variable declaration
rho=0.00912; //resistivity(ohm m)
RH=3.55*10^-4; //hall coefficient(m^3/C)
B=0.48; //flux density(Wb/m^2)
//Calculation
sigma=1/rho;
theta_H=atan(sigma*B*RH); //hall angle(radian)
theta_H=theta_H*180/%pi ; //hall angle(degrees)
//Result
printf("\n hall angle is %0.4f degrees",theta_H)
|