summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.25/22_25.sce
blob: c5b9528b74298cadac8ab249b57a9209d88b001b (plain)
1
2
3
4
5
6
7
8
//ques-22.25
//Determining interplanar spacing of 200 and 220 planes
clc
r=174.6;//radius (in pm)
a=r*sqrt(8);//edge length in FCC (in pm)
d200=a/sqrt(2^2+0+0);
d220=a/sqrt(2^2+2^2+0);
printf("The interplanar spacing of plane 200 is %.1f pm and for plane 220 is %.1f pm.",d200,d220);