summaryrefslogtreecommitdiff
path: root/3755/CH8/EX8.7/Ex8_7.sce
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)