summaryrefslogtreecommitdiff
path: root/2672/CH4/EX4.15/Ex4_15.sce
blob: a50241ff4458ed91f2e2d24868ad3c41ae021d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 4_15
clc;
clear;
close;
format('e',9)
//given data : 
A=10^-5;//m^2
I=100;//A
n0=8.5*10^28;//m^-3
e=1.6*10^-19;//C///Charge on electron
//Formula : I=no*A*vd*e
vd=I/n0/A/e;//ms^-1
disp(vd,"Drift Velocity(ms^-1)")