summaryrefslogtreecommitdiff
path: root/1694/CH6/EX6.22/Ex6_22.sce
blob: 8cd48fd48a6ae8cb7900531dbb4c64d4744552e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear;
clc;
printf("\nEx-6.22\n");
//page no.-193
//given
g=18.8;.......//specific gravity
M=184;.......//atomic weight
n=2;.........//no of electrons per atom
N=6.02*10^23;......//avagadro no.
e=1.6*10^-19;.......//charge

no=(N*g*n)*10^6/M........//no of electrons per unit volume

printf("\nno. of electrons/ unit volume 1.23*10^29 /m^3\n");

E=((3.64*10^-19)/e)*(no^(2/3)).......//fermi energy

printf("\nfermi energy is 9 eV");