summaryrefslogtreecommitdiff
path: root/3537/CH4/EX4.5/Ex4_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH4/EX4.5/Ex4_5.sce')
-rw-r--r--3537/CH4/EX4.5/Ex4_5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH4/EX4.5/Ex4_5.sce b/3537/CH4/EX4.5/Ex4_5.sce
new file mode 100644
index 000000000..4dc706bfb
--- /dev/null
+++ b/3537/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,10 @@
+//Example 4_5
+clc();
+clear;
+//To calculate the density
+n=8
+a=5.6*10^-10 //units in meters
+M=710.59 //units in a.m.u
+N=6.02*10^26 //units in kg/mol
+Density=(n*M)/(a^3*N)
+printf("Density is %.0f kg/m^3",Density)