summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.6/Ex5_6.sce
blob: bacf3d46883a68b6be524970fa50a065d8e95a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
I=10                //A
A=4*10**-6                 //m**2
e=1.6*10**-19                //C
n=8*10**28                     //m**-3
l=4

//Calculation
Vd=I/(n*A*e)
t=l/Vd

//Result
printf("\n Time required by an electron is  %0.3f  *10**4 S", t*10**-4)