blob: 926bc10a1c62dd957aca46cfa4f8d06dfac5a6a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
a=4.28*10^-10; //side(m)
e=1.6*10^-19; //charge of electron
//Calculation
n=2/(a^3);
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)
|