summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.21/ex13_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH13/EX13.21/ex13_21.sce')
-rwxr-xr-x3020/CH13/EX13.21/ex13_21.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3020/CH13/EX13.21/ex13_21.sce b/3020/CH13/EX13.21/ex13_21.sce
new file mode 100755
index 000000000..f328d9a7f
--- /dev/null
+++ b/3020/CH13/EX13.21/ex13_21.sce
@@ -0,0 +1,8 @@
+clc;
+clear all;
+rho = 8960;//Density of copper in Kg/m^3
+M = 63.54e-3; // Atomic weight of copper in Kg
+n = 4;// Number of atoms per unit cell of FCC
+N = 6.023e26; // Avagadro constant
+a = ((n*M)/(N*rho))^(1/3);//Lattice constant
+disp('m',a,'The lattice constant of copper is')