summaryrefslogtreecommitdiff
path: root/1730/CH3/EX3.11/Exa3_11.sce
blob: 75e607a37886776e5e154536bf5e82d540c375b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Exa3.11
clc;
clear;
close;
// given data
k_desh=1.38*10^-23;// in J degree^-1
e=1.602*10^-19;// in C
miu_e=3600;// in cm^2/V-s
miu_h=1700;// in cm^2/V-s
T=300;// in K
D_e=miu_e*k_desh*T/e;
disp("Diffusion constant of electrons is : "+string(D_e)+" cm^2/s");
D_h=miu_h*k_desh*T/e;
disp("Diffusion constant of holes is : "+string(D_h)+" cm^2/s");