summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.4/22_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH22/EX22.4/22_4.sce')
-rw-r--r--1427/CH22/EX22.4/22_4.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/1427/CH22/EX22.4/22_4.sce b/1427/CH22/EX22.4/22_4.sce
new file mode 100644
index 000000000..40a78ac0a
--- /dev/null
+++ b/1427/CH22/EX22.4/22_4.sce
@@ -0,0 +1,6 @@
+//ques-22.4
+//Calculating edge length of a cube of NaCl
+clc
+d=281;//interionic distance (in pm)
+a=2*d;//edge length (in pm)
+printf("The edge length is %d pm.",a);