blob: 4ebdcb9afa03099aa6e27fa0c73346984eb13585 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc//
//
//
//Variable declaration
RH=3.66*10^-4; //hall coefficient(m^3/coulomb)
I=10^-2; //current(amp)
B=0.5; //magnetic field(wb/m^2)
t=1*10^-3; //thickness(m)
//Calculation
VH=RH*I*B*10^3/t; //hall voltage(mV)
//Result
printf("\n hall voltage is %0.3f mV",VH)
|