summaryrefslogtreecommitdiff
path: root/3828/CH11/EX11.2/Ex11_2.sce
blob: 9f500a37898850c75a6f7d82b4a3b7632e7fe862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter 11 : Free Electron Theory Of Metals

clear;

//Variable declaration
sigma=6.8*10**7        //conductivity
n=8.5*10**28           //number of electrons
m=9.1*10**-31          //Mass of electron
e=1.6*10**-19          //charge on electron
k=1.38*10**-23         //Boltzmann's constant in J/K
T=300                  //temperature in K

//Calculations
lamda=(2*sigma*sqrt(3*m*k*T))/(n*e**2)/10**-9

//Result
mprintf("Mean free path for electron= %1.1f*10**-9 m",lamda)