summaryrefslogtreecommitdiff
path: root/1826/CH10/EX10.28/ex10_28.sce
blob: 807941d0ee6199f11f810556077f97fd22b5a98c (plain)
1
2
3
4
5
6
7
8
9
10
// Example 10.28, page no-286
clear
clc
rho=0.1//Ohm-m
ni=10^20//per m^3
vd=1//m/s
e=1.6*10^-19//C
mu=1/(rho*ni*e)
E=vd/mu
printf("\nThe mobility of the electrons in material is %.3f m^2/V-s\nThe electric field is %.1f V/m",mu,E)