summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.12/22_12.sce
blob: 05843d094c4e4cab5d203558ecfaa49acf400c99 (plain)
1
2
3
4
5
6
7
8
9
//ques-22.12
//Calculating atomic mass of an element
clc
den=10.3;//density (in g/mL)
a=314*10^-10;//cell edge (in cm)
Na=6.023*10^23;//(in /mol)
z=2;//BCC
M=(den*Na*a^3)/z;
printf("Atomic mass required is %.2f g/mol.",M);