summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.3/ex13_3.sce
blob: 487f3343e3a882536c3d69b1b7e0d7a974f966c3 (plain)
1
2
3
4
5
6
7
8
9
clc;
clear all;
de = 9.6e2 ; // Density of sodium in Kg per cubic meter
At = 23; // Atomic weight of sodium
n = 2;// Number of atoms present in a unit cell
av = 6.022e26; // Avagadro constant
mass = (n*At)/av; 
v = (mass/de)^(1/3); // Volume of a unit cell
disp('m',v,'The lattice constant osf sodium is')