summaryrefslogtreecommitdiff
path: root/3537/CH4/EX4.8/Ex4_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH4/EX4.8/Ex4_8.sce')
-rw-r--r--3537/CH4/EX4.8/Ex4_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH4/EX4.8/Ex4_8.sce b/3537/CH4/EX4.8/Ex4_8.sce
new file mode 100644
index 000000000..3dbefdbca
--- /dev/null
+++ b/3537/CH4/EX4.8/Ex4_8.sce
@@ -0,0 +1,10 @@
+//Example 4_8
+clc();
+clear;
+//To calculate the number of atoms per unit cell
+a=2.9*10^-10 //units in meters
+M=55.85 //units in kg/m^3
+density=7870 //units in kg/m^3
+N=6.02*10^26 //units in kg/mol
+n=(a^3*density*N)/M
+printf("number of atoms %.0f",n)