summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.2/22_2.sce
blob: 57785106db0a0304ba41c63dc2773b4c38bcfa97 (plain)
1
2
3
4
5
6
//ques-22.2
//Calculating interionic distance in NaCl
clc
a=564;//edge length (in pm)
d=a/2;//=Rc+Ra
printf("The interionic distance is %d pm.",d);