summaryrefslogtreecommitdiff
path: root/1826/CH10/EX10.32/ex10_32.sce
blob: 554b94ee58b29f4ec8e4f9c8daa3536fd0a65798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Example 10.32, page no-289
clear
clc

R=60
rho=2.7*10^-8//Ohm-m
i=15//A.
l=5//m
m=3
e=1.6*10^-19//C
d=2.7*10^3//kg/m^3
awt=26.98
avg=6.023*10^23
n=m*avg*1000*d/awt
printf("Free electron concentration is %.3f * 10^29",n*10^-29)
mu=1/(rho*n*e)
printf("\nThe mobility of electron in aluminium is %.4f*10^-3 m^2/v-s",mu*10^3)
vd=mu*i*R*10^-3/l
printf("\nThe drift velocity of the electron in Al is %.1f*10^-4 m/s",vd*10^4)