summaryrefslogtreecommitdiff
path: root/1271/CH13/EX13.11/example13_11.sce
blob: 40943817ff35ebf30183b5afc227af72c8e1311e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc 
// Given that
w = 207.2 // atomic weight of Pb
d = 11.36e3 // density of Pb in kg/m^3
a = 3.2e-10 // length of cube edge in meter
N = 6.023e26 // Avogadro's no. in per kg mole
// Sample Problem 11 on page no. 13.28
printf("\n # PROBLEM 11 # \n")
printf("Standard formula used \n")
printf(" n = (a^3 * d * N) / w \n")
n = (a^3 * d * N) / w
printf("\n Number  of atom per unit cell is %d.",n)