summaryrefslogtreecommitdiff
path: root/3535/CH1/EX1.2/Ex1_2.sce
blob: b7951ee79dba9224de4a2e61f25e780b0a44e6d2 (plain)
1
2
3
4
5
6
7
8
9
10
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