summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.17
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH13/EX13.17')
-rwxr-xr-x3020/CH13/EX13.17/ex13_17.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/3020/CH13/EX13.17/ex13_17.sce b/3020/CH13/EX13.17/ex13_17.sce
new file mode 100755
index 000000000..2ec212b26
--- /dev/null
+++ b/3020/CH13/EX13.17/ex13_17.sce
@@ -0,0 +1,6 @@
+clc;
+clear all;
+a = 2.88e-10; //Lattice constant
+rho = 7200; // Density of the metal in Kg per cubic meter
+n = 1/(a^3*rho); // Number of units cells present in 1kg of metal
+disp('',n,'Number of units cells present in 1kg of metal is')