blob: 4bdb4ec36f1483659a8c4f77cba7faa85e6ccff2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc();
clear;
//To determine spacing of (111) planes in a monoatomic fcc structure
h=1;
k=1;
l=1;
//d(hkl)=a/sqrt(h^2+k^2+l^2)where "a" is the lattice parameter
r=0.18; //atomic radius in nm
d(111)=(2*sqrt(2)*r)/sqrt((h^2)+(k^2)+(l^2))
printf("The spacing of (111) planes in a monoatomic structure with atomic radius 0.18 nm is %f nm",d(111));
|