summaryrefslogtreecommitdiff
path: root/3753/CH6/EX6.10/Ex6_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH6/EX6.10/Ex6_10.sce')
-rw-r--r--3753/CH6/EX6.10/Ex6_10.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3753/CH6/EX6.10/Ex6_10.sce b/3753/CH6/EX6.10/Ex6_10.sce
new file mode 100644
index 000000000..69eb863f5
--- /dev/null
+++ b/3753/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,17 @@
+//Example number 6.10, Page number 6.50
+
+clc;clear;close
+
+// variable declaration
+n=4 // unitless
+M=58.5 // Molecular wt. of NaCl
+N=6.02*10^26 // Avagadro number
+rho=2180 // density
+
+// Calculations
+a=((n*M)/(N*rho))^(1/3) // in m
+s=a/2 // in m
+
+// Result
+printf("a= %.3e m",a)
+printf("\nspacing between the nearest neighbouring ions = %.4f nm",(s/10^-9))