blob: efd2cdb1f0e6c009c83370a239841366bf190b36 (
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=3.66*10**-4 //Hall coefficient
t=10**-3 //thickness
I=1 //current
B=0.5 //magnetic induction
//Calculations
VH=(RH*I*B)/t
//Result
mprintf("Hall voltage VH= %.3f V",VH)
|