summaryrefslogtreecommitdiff
path: root/1736/CH1/EX1.12/Ch01Ex12.sce
blob: 43482af50ed1a0ea5516b8bbef9deaefde1b8880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Scilab Code Ex 1.12 :Page-25 (2006)
clc; clear;
R = 1;  // For simplicity we assume radius of atom to be unity, m
// For fcc Structure,
a = 4*R/sqrt(2);    // Lattice parameter of fcc crystal, m
// We have R+r = a/2, solving for r
r = a/2-R   // Relation between radius of the void and radius of the atom, m 
printf("\nThe maxiumum radius of the sphere that can fit into void between two fcc unit cells = %5.3fR", r); 

// Result 
// The maxiumum radius of the sphere that can fit into void between two fcc unit cells = 0.414R