summaryrefslogtreecommitdiff
path: root/1367/CH15/EX15.2/15_2.sce
blob: 6efac6325efbc62bcfa06fbe81259f403a251d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Find Drift Velocity
//Ex:15.2
clc;
clear;
close;
n=10^19;//no. of electrons per unit volume
e=1.602*10^-19;//charge of an electron in C
a=0.018;//conductivity in ohm/m
m=9.1*10^-31;//mass of an electron in kg
v=0.16;//in volts
t=0.29;//thickness in mm
efg=v/t;//electric field gradient in V/m
vd=a*efg/(n*e);
vd1=10^3*vd;//in m/s
disp(vd1,"Drift Velocity (in m/sec) = ");