summaryrefslogtreecommitdiff
path: root/3535/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3535/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3535/CH1/EX1.2/Ex1_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3535/CH1/EX1.2/Ex1_2.sce b/3535/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..b7951ee79
--- /dev/null
+++ b/3535/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,11 @@
+//Chapter 1, Example 1.2, Page 22
+clc
+clear
+//Find number of 10B molecules in 5g of Boron
+m = 5 //g
+Na = 0.6022*10**24 //atoms/mol
+AB = 10.811 //Atomic weight of 10B , g/mol
+NB = (m*Na)/(AB)
+printf("The number of Boron atoms = %e atoms",NB);
+
+//Answers may vary due to round off error