diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3523/CH3/EX3.7.9/Ex3_9.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3523/CH3/EX3.7.9/Ex3_9.sce')
-rw-r--r-- | 3523/CH3/EX3.7.9/Ex3_9.sce | 13 |
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)
|