summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.12/22_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH22/EX22.12/22_12.sce')
-rw-r--r--1427/CH22/EX22.12/22_12.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH22/EX22.12/22_12.sce b/1427/CH22/EX22.12/22_12.sce
new file mode 100644
index 000000000..05843d094
--- /dev/null
+++ b/1427/CH22/EX22.12/22_12.sce
@@ -0,0 +1,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);