summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.22/22_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH22/EX22.22/22_22.sce')
-rw-r--r--1427/CH22/EX22.22/22_22.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH22/EX22.22/22_22.sce b/1427/CH22/EX22.22/22_22.sce
new file mode 100644
index 000000000..bbc437b56
--- /dev/null
+++ b/1427/CH22/EX22.22/22_22.sce
@@ -0,0 +1,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);