summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.22/22_22.sce
blob: bbc437b56c30a61b2b37a36ceee715a58eecab72 (plain)
1
2
3
4
5
6
7
//ques-22.22
//Calculating ratio of interionic distance in cases 111 and 220
clc
d111=a/sqrt(3);//interionic distance for plane 111
d220=a/sqrt(8);//interionic distance for plane 220
ratio=d111/d220;
printf("The required ratio is %.3f.",ratio);