summaryrefslogtreecommitdiff
path: root/2102/CH2/EX2.1/exa_2_1.sce
blob: 9502023ba3ddd33a8f6edc1766d35964eaaa1cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 2.1
clc;
clear;
close;
// Given data
miu= 0.3;// in m^2/vs
V= 50;// in mV
V=V*10^-3;// in V
d=0.4;// in mm
d=d*10^-3;// in m
// Part (a)
// miu= vd/E and vd= miu*E, so
vd= miu*V/d;// in m/s
disp(vd,"Drift velocity in m/s is : ")

// Part (b)
T= d/vd;// in sec
disp(T*10^6,"Time required for an electron to move in µs is :")