summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.19/ex13_19.sce
blob: 14dab48486de925478089362345cbb23af2058c3 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear all;
at = 63.5e-3; // Atomic weight of copper in Kg
N = 6.022e26; // Avagadro constant
r = 1.273e-10; // Atomic radius for FCC in meters
n = 4;// Number of atoms per unit cell in FCC
a = (4*r)/sqrt(2); // Lattice parameter for FCC
rho = (n*at)/(N*a^3); //Density of material
disp('gm/m^3',rho,'The density of copper is')
// Slight variation in answer than textbook