blob: 2450aec6f82f1edc064281ec1bd2027300305849 (
plain)
1
2
3
4
5
6
7
8
|
// Additional solved examples , Example 17 , pg 338
d110=1.96//spacing of(1 1 0) planes (in Angstrom)
h=1
k=1
l=0 //(h k l)=(1 1 0)
a=d110*sqrt(h^2+k^2+l^2)//size of unit cell
printf("size of unit cell=")
printf("a=%.2f angstrom",a)
|