blob: 12cbee4578f30a50f82e31b6e82fe6c9c2996d5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear
//Given
I=10 //A
A=1 //m*m**2
e=1.6*10**-19 //C
n=10**28 //m**-3
//Calculation
Vd=I/(n*A*e)
//Result
printf("\n Drift velocity of the conduction electrons are %0.3f m/s", Vd)
|