blob: 7f2efa7574c4d41fd6b2389b92196f22a3afc220 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear;
clc;
n0=5*10^16 //doping level of Si with As in cm^-3
myu_n=800 //in cm^2/Vs
Ix=2*10^-3 //in A
Bz=5*10^-5 //in A
d=2*10^-2 //in cm
e=1.6*10^-19 //in J
//Calculation
p=1/(e*myu_n*n0)
RH=-1/(e*n0)
VH=(Ix*Bz*RH)/(d)
mprintf("Resistivity= %0.3f ohm-cm\n",p)
mprintf("Hall coefficient= %i cm^3/c\n",RH)
mprintf("Hall Voltage= %.2e V",VH)
|