blob: 9a53aa1609ed7e7ed333c070ce9713ce3aea194c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//
//
//
//Variable declaration
n=5*10^28; //charge carrier density
e=1.6*10^-19; //charge of electron
//Calculation
RH=-1/(n*e); //hall coefficient(m^3/C)
//Result
printf("\n hall coefficient is %0.3f *10^-9 m^3/C",RH*10^9)
|