summaryrefslogtreecommitdiff
path: root/1826/CH8/EX8.18/ex8_18.sce
blob: 439d0ddd4dc17317e38a751837de05a2ba6da7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Example 8.18, page no-221
clear
clc

h=6.62*10^-34//Js
m=9.1*10^-31//Kg
e=1.6*10^-19//C
ef=3*e
k=((3/(8*%pi))^(2/3))*((h^2)/(2*m))
k=ef/k
n=k^(1.5)
printf("The number of free electrons concentration in metal is %.2f *10^28 per cubic meter ",n*10^-28)