summaryrefslogtreecommitdiff
path: root/1736/CH1/EX1.1/Ch01Ex1.sce
blob: dafad34343eb1df712e149a60db209c5cd72af37 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Scilab Code Ex1.1  Page-13 (2006)
clc; clear;
r = 1.278e-010;     // Atomic radius of fcc structure, m
a = 4*r/sqrt(2);    // Lattice parameter of fcc strucure, m
V = a^3;    // Volume of fcc unit cell, metre, cube
printf("\nThe lattice parameter of fcc strucure = %4.2e m", a);
printf("\nThe volume of fcc unit cell = %5.2e metre, cube", V);

// Result 
// The lattice parameter of fcc strucure = 3.61e-010 m
// The volume of fcc unit cell = 4.72e-029 metre cube