diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3020/CH13/EX13.20/ex13_20.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3020/CH13/EX13.20/ex13_20.sce')
-rwxr-xr-x | 3020/CH13/EX13.20/ex13_20.sce | 9 |
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')
|