From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1985/CH13/EX13.2/Chapter13_example2.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1985/CH13/EX13.2/Chapter13_example2.sce (limited to '1985/CH13/EX13.2') diff --git a/1985/CH13/EX13.2/Chapter13_example2.sce b/1985/CH13/EX13.2/Chapter13_example2.sce new file mode 100755 index 000000000..e14c8f675 --- /dev/null +++ b/1985/CH13/EX13.2/Chapter13_example2.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +d=9.6*10^2//Density of sodium in kg/m^3 +a=23//Atomic weight of sodium +n=2//Number of atoms present in one unit cell in bcc crystal +x=6.023*10^26//Avagadro constant per kg mole + +//Calculations +m=(n*a)/x//Mass of one unit cell in kg +a1=(m/d)^(1/3)/10^-10//Lattice constant of sodium angstroms + +//Output +printf('The lattice constant for sodium crystal is %3.1f angstroms',a1) -- cgit