summaryrefslogtreecommitdiff
path: root/2201/CH2/EX2.8/ex2_8.sce
blob: bc612d0e2f8cc6b43af09124ce57726a0bcaf162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 2.8
clc;
clear;
close;
// Given data
N_A = 6.025*10^23;// in /gm mole
d = 10.5;// in gm/cc
At = 108;// atomic weight of 
n = (N_A/At)*d;// in /cm^3
n = n * 10^6;// in /m^3
r = 10^-3;// in m
A = %pi * ((r)^2);// in m^2
q = 1.6*10^-19;
I = 2;// in A
V = I/(n*q*A);// in m/s
disp(V,"The drift velocity of an electron in m/s is");

// Note: There is calculation error to find the value of V (i.e. drift velocity), So the answer in the book is wrong