summaryrefslogtreecommitdiff
path: root/3869/CH6/EX6.9/Ex6_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH6/EX6.9/Ex6_9.sce')
-rw-r--r--3869/CH6/EX6.9/Ex6_9.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3869/CH6/EX6.9/Ex6_9.sce b/3869/CH6/EX6.9/Ex6_9.sce
new file mode 100644
index 000000000..272340f52
--- /dev/null
+++ b/3869/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+r=0.1278*10**-9 //atomic radius(m)
+n=4 //number of atoms per unit cell
+M=63.5 //atomic weight(amu)
+N=6.02*10**26 //avagadro number(kg/mol)
+
+//Calculation
+a=sqrt(8)*r //lattice constant(m)
+rho=n*M/(a**3*N) //density(kg/m**3)
+
+//Result
+printf("\n density is %0.2f kg/m**3",rho)
+printf("\n answer given in the book is wrong")