summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.20/ex13_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH13/EX13.20/ex13_20.sce')
-rwxr-xr-x3020/CH13/EX13.20/ex13_20.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3020/CH13/EX13.20/ex13_20.sce b/3020/CH13/EX13.20/ex13_20.sce
new file mode 100755
index 000000000..8a18b3c0c
--- /dev/null
+++ b/3020/CH13/EX13.20/ex13_20.sce
@@ -0,0 +1,9 @@
+clc;
+clear all;
+rho = 7860;//Density of alpha-iron in Kg/m^3
+M = 55.85e-3; // Atomic weight of alpha-iron in Kg
+n = 2;// Number of atoms per unit cell of BCC
+N = 6.022e26; // Avagadro constant
+a = ((n*M)/(N*rho))^(1/3);//Lattice constant
+r = ((a*sqrt(3))/4);
+disp('m',r,'The atomic radius of alpha-iron is')