summaryrefslogtreecommitdiff
path: root/3755/CH2/EX2.30/Ex2_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH2/EX2.30/Ex2_30.sce')
-rw-r--r--3755/CH2/EX2.30/Ex2_30.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3755/CH2/EX2.30/Ex2_30.sce b/3755/CH2/EX2.30/Ex2_30.sce
new file mode 100644
index 000000000..38a0c3be8
--- /dev/null
+++ b/3755/CH2/EX2.30/Ex2_30.sce
@@ -0,0 +1,14 @@
+clear
+//
+//
+//
+
+//Variable declaration
+Vd=3*10^22; //density(gm/cc)
+n=8*(1/8); //number of atoms
+
+//Calculations
+a=(n/Vd)^(1/3); //lattice constant(cm)
+
+//Result
+printf("\n lattice constant is %0.2f angstrom",a*10^8)