summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.17/ex13_17.sce
blob: 2ec212b26cfcf35c2133929274d9d0f9751214ff (plain)
1
2
3
4
5
6
clc;
clear all;
a = 2.88e-10; //Lattice constant
rho = 7200; // Density of the metal in Kg per cubic meter
n = 1/(a^3*rho); // Number of units cells present in 1kg of metal
disp('',n,'Number of units cells present in 1kg of metal is')