summaryrefslogtreecommitdiff
path: root/3763/CH5/EX5.3/Ex5_3.sce
blob: a6c4b975ddd5bfbe9b8630640c71fc1da906d16a (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
e=1.6*10**-19
m=9.1*10**-31  //mass(kg)
n=5.8*10**28  
rho=1.54*10**-8    //resistivity(ohm m)
E=1*10**2

//Calculation
tow=m/(rho*n*e**2)      //relaxation time(s)
mew_e=1/(rho*e*n)       //mobility of electrons(m**2/Vs)
vd=mew_e*E       //drift velocity(m/s)

//Result
printf("\n relaxation time is %0.0f  *10**-14 s",tow*10**14)
printf("\n mobility of electrons is %0.0f  *10**-3 m**2/Vs",mew_e*10**3)
printf("\n drift velocity is %0.1f  m/s",vd)