blob: 881fa4018f174921497594c103a781cd5bf07174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Chapter 5 Example 3
//==============================================================================
clc;
clear;
//input data
//α-Iron solidifies to BCC structure
r = 1.273; // Atomic radius in angstrom
N = 6.023*10^26; // Avagadros number in atoms/kilomole
A = 55.85; // Atomic weight of α-Iron in kilograms
n = 2; // No. of atoms per unit cell for BCC
p = 7860; // density in kg/m^-3
//Calculations
// p = (n*A)/(N*a^3); density
a = ((n*A)/(N*p))^(1/3); // lattice constant
a1 = a*10^10; // m to angstrom conversion
r = (a1*sqrt(3))/4 // atomic radius for BCC
//Output
mprintf('The Radius of the atom = %3.5f Å\n',r);
mprintf(' Note : atomic wt taken as 55.58*10^-3 instead of 55.85 in calculation')
//==============================================================================
|