summaryrefslogtreecommitdiff
path: root/3537/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH4/EX4.4/Ex4_4.sce')
-rw-r--r--3537/CH4/EX4.4/Ex4_4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH4/EX4.4/Ex4_4.sce b/3537/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..6f4c4205a
--- /dev/null
+++ b/3537/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,10 @@
+//Example 4_4
+clc();
+clear;
+//To calculate the number of atoms per unit cell
+a=2.9*10^-10 //units in meters
+density=7870 //units in kg/m^3
+M=55.85 //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)