summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.21/ex13_21.sce
blob: f328d9a7ff8736837394968888c022580cf126c5 (plain)
1
2
3
4
5
6
7
8
clc;
clear all;
rho = 8960;//Density of copper in Kg/m^3
M = 63.54e-3; // Atomic weight of copper in Kg
n = 4;// Number of atoms per unit cell of FCC
N = 6.023e26; // Avagadro constant
a = ((n*M)/(N*rho))^(1/3);//Lattice constant
disp('m',a,'The lattice constant of copper is')