summaryrefslogtreecommitdiff
path: root/3840/CH5/EX5.9/Ex5_9.sce
blob: 7fc87b777012c0131275e95a23a6471669e5955d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clear
//
//
//

//Variable declaration
m=9.11*10**-31      //mass(kg)
rho=1.54*10**-8     //resistivity(ohm m)
e=1.602*10**-19     //charge(c)
E=10**2             //electric field(V/m)
n=5.8*10**28        //number of electrons
Kb=1.381*10**-23    //boltzmann constant
T=300               //temperature(K)

//Calculation
tow=m/(n*e**2*rho)   //relaxation time(s)
vd=e*E*tow/m         //drift velocity(m/s)
mew=vd/E             //mobility(m**2/Vs)
Vth=sqrt(3*Kb*T/m)     //thermal velocity(m/s)

//Result