summaryrefslogtreecommitdiff
path: root/3369/CH3/EX3.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3369/CH3/EX3.9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3369/CH3/EX3.9')
-rwxr-xr-x3369/CH3/EX3.9/Ex3_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3369/CH3/EX3.9/Ex3_9.sce b/3369/CH3/EX3.9/Ex3_9.sce
new file mode 100755
index 000000000..6d23d456f
--- /dev/null
+++ b/3369/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,14 @@
+//Chapter 3, Exmaple 9, page 106
+//Average separation and volume occupied by one atom
+clc
+clear
+NA = 6.0244*10**23
+NoA = NA*0.075 // Number of atoms/cm^3
+V = 1/NoA // Average volume occupied by one atom
+S = nthroot(V,3) // Average separation between atoms
+printf("\nNumber od atoms per cm^3 = %e ",NoA)
+printf("\nAverage vloume occupied by one atom = %e cm^3",V)
+printf("\nAverage separation between atoms = %e cm",S)
+
+
+//Answers may vary due to round off error