summaryrefslogtreecommitdiff
path: root/3492/CH1/EX1.7/Ex1_7.sce
blob: 4aedd93318fa33e90243a624c24f330458b2e217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
clc
//Chapter1
//Ex_1.7
//Given
n=4
M_at=63.55*10^-3//Kg/mol
NA=6.022*10^23 //mol^-1
R=0.128// in nm
c=8 //no.of cornersof unit cells
f=6 //no.of faces of unit cells
//a
N=c*(1/8)+f*(1/2)
disp(N,"No. of atoms per unit cells is")
//b
//Lattice parameter 
a=R*2*2^(1/2)
disp(a,"Lattice Parameter in nm is")
a=a*10^-9 //in m
//c
//APF=(No.of atoms in unit cell)*(Vol. of atom)/(Vol. of unit cell)
APF=4^2*%pi/(3*(2*sqrt(2))^3)
disp(APF,"Atomic Packing Factor is")
//d
p=n*M_at/(a^3*NA) //density 
disp(p,"density of Copper in Kg/m3 is")