summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.9/Ex1_9.sce
blob: 8ee6f9d3f66cdf49347c13b6916822ea053f41cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear;
clc;
printf("\nEx1.9\n");
//page no.-11
//given
rho=2170;.......//density of NaCl in kg/m^3
m=58.45;.........//molecular wt. of NaCl 
n=4;...........//molecules per unit cell for F.C.C.
N=6*10^26;...//avagadro no.

M=(n*m)/N;..........//mass in each unit cell
//as density=mass/volume, so volume is a^3

a=(M/rho)^(1/3)......//lattice constant in Angstrom

printf("\nlattice constant is 5.64 angstrom\n");