summaryrefslogtreecommitdiff
path: root/3523/CH3/EX3.7.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3523/CH3/EX3.7.9/Ex3_9.sce')
-rw-r--r--3523/CH3/EX3.7.9/Ex3_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3523/CH3/EX3.7.9/Ex3_9.sce b/3523/CH3/EX3.7.9/Ex3_9.sce
new file mode 100644
index 000000000..7a6cc6279
--- /dev/null
+++ b/3523/CH3/EX3.7.9/Ex3_9.sce
@@ -0,0 +1,13 @@
+//Example 9// Ch 3
+clc;
+clear;
+close;
+// given data
+d = 0.075; //density of solid atomic hydrogen in g/cm^3
+N_A = 6.0224*10^23; //1g of H consists of N_A atoms
+N = N_A*d; // number of atoms/cm^3
+printf("no. of atoms/cm^3 %e",N)
+x = 1/N;//avg volume occupied by one atom in cm^3
+y = (x)^(1/3);//avg seperation between atoms in cm
+printf("avg vokume occupied by one atom %e cm^3",x)
+printf("avg seperation between atoms %e cm",y)