summaryrefslogtreecommitdiff
path: root/2912/CH6/EX6.3/Ex6_3.sce
blob: 1d6db1895b5da2978f823090e9f325edf01b0940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter 6
//example 6.3
//Calculate relaxation time of conduction electrons
//page 147
clear;
clc;
//given
n=5.8E28; // in 1/m^3 (density of electron)
m=9.1E-31; // in Kg (mass of electron)
e=1.6E-19; // in C (charge of electron)
p=1.54E-8; // in ohm-m (resistivity)
//calculate
t=m/(n*e^2*p); // calculation of relaxation time
printf('\nThe relaxation time of conduction electrons is %1.2E sec',t);