summaryrefslogtreecommitdiff
path: root/1952/CH12/EX12.18/Ex18.sce
diff options
context:
space:
mode:
Diffstat (limited to '1952/CH12/EX12.18/Ex18.sce')
-rwxr-xr-x1952/CH12/EX12.18/Ex18.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1952/CH12/EX12.18/Ex18.sce b/1952/CH12/EX12.18/Ex18.sce
new file mode 100755
index 000000000..7265c8952
--- /dev/null
+++ b/1952/CH12/EX12.18/Ex18.sce
@@ -0,0 +1,7 @@
+// Additional solved examples , Example 18 , pg 339
+r=1.575 *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)