summaryrefslogtreecommitdiff
path: root/1952/CH5/EX5.7/Ex5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1952/CH5/EX5.7/Ex5_7.sce')
-rwxr-xr-x1952/CH5/EX5.7/Ex5_7.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1952/CH5/EX5.7/Ex5_7.sce b/1952/CH5/EX5.7/Ex5_7.sce
new file mode 100755
index 000000000..a2933451d
--- /dev/null
+++ b/1952/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,7 @@
+// chapter 5 , Example5 7 , pg 153
+r=1.605 *10^-10 //radius of atom (in m)
+a=2*r//lattice constant (for HCP structure) (in m)
+c=a*sqrt(8/3) //(in m)
+V=(3*sqrt(3)*a^2*c)/2 //volume of unit cell
+printf("volume of unit cell(in m^3)\n")
+disp(V)