blob: 0991a2dc7b35d8e6fe17a5043a2fe7b90a785491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Variable declaration
mewn=0.21; //mobility of electrons(m**2/Vs)
e=1.6*10**-19;
Kb=1.38*10**-23; //boltzmann constant
T=300; //temperature(K)
//Calculation
Dn=mewn*Kb*T/e; //diffusion coefficient of electrons(m**2/s)
//Result
printf('diffusion coefficient of electrons is %0.3f *10**-4 m**2/s \n',(Dn*10**4))
|