blob: d9a79c2e673ab0361e27ebb25b175e9b829dea3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Chapter 12 : Semiconductor Physics
clear;
//Variable declaration
RH=7.5*10**-5 //Hall coefficient
sigma=200 //conductivity
e=1.6*10**-19 //electron charge
//Calculations
n=1/(e*RH)/10**22
myu=sigma*RH
//Result
mprintf("Charge density= %.2f*10**22 /m**3",n)
mprintf("\nMobility= %.3f m**2 V**-1 s**-1",myu)
|