summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.9/22_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH22/EX22.9/22_9.sce')
-rw-r--r--1427/CH22/EX22.9/22_9.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH22/EX22.9/22_9.sce b/1427/CH22/EX22.9/22_9.sce
new file mode 100644
index 000000000..7091bda8f
--- /dev/null
+++ b/1427/CH22/EX22.9/22_9.sce
@@ -0,0 +1,8 @@
+//ques-22.9
+//Finding density of NaCl
+clc
+a=0.564*10^(-7);//edge length (in cm)
+V=a^3;//volume
+M=58.5;//molar mass of NaCl (in g/mol)
+den=(4*M)/(6.023*V*10^23);//density
+printf("The density of NaCl is %.3f g/mL.",den);