summaryrefslogtreecommitdiff
path: root/3651/CH1/EX1.10
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH1/EX1.10')
-rw-r--r--3651/CH1/EX1.10/Ex1_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3651/CH1/EX1.10/Ex1_10.sce b/3651/CH1/EX1.10/Ex1_10.sce
new file mode 100644
index 000000000..c3a88c773
--- /dev/null
+++ b/3651/CH1/EX1.10/Ex1_10.sce
@@ -0,0 +1,13 @@
+//variable declaration
+n=4
+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)
+s=a/2
+
+//Result
+printf('a=%0.3f*10**-9 metre\n",(a/10**-9))
+printf('spacing between the nearest neighbouring ions =%0.3f nm",(s/10**-9))