blob: cd5a49b167b154a490a08a41e27c834944aad34e (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Example 8.9, page no-214
clear
clc
n=18.1*10^28//per cubic m
h=6.62*10^-34//Js
m=9.1*10^-31//Kg
e=1.6*10^-19//C
ef=((3*n/(8*%pi))^(2/3))*((h^2)/(2*m))
ef=ef/e
printf("The Fermi energy at 0 K is %.2f eV ",ef)
|