summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.3/ex13_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH13/EX13.3/ex13_3.sce')
-rwxr-xr-x3020/CH13/EX13.3/ex13_3.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3020/CH13/EX13.3/ex13_3.sce b/3020/CH13/EX13.3/ex13_3.sce
new file mode 100755
index 000000000..487f3343e
--- /dev/null
+++ b/3020/CH13/EX13.3/ex13_3.sce
@@ -0,0 +1,9 @@
+clc;
+clear all;
+de = 9.6e2 ; // Density of sodium in Kg per cubic meter
+At = 23; // Atomic weight of sodium
+n = 2;// Number of atoms present in a unit cell
+av = 6.022e26; // Avagadro constant
+mass = (n*At)/av;
+v = (mass/de)^(1/3); // Volume of a unit cell
+disp('m',v,'The lattice constant osf sodium is')