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 --- 2309/CH5/EX5.10/Ex5_10.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2309/CH5/EX5.10/Ex5_10.sce (limited to '2309/CH5/EX5.10/Ex5_10.sce') diff --git a/2309/CH5/EX5.10/Ex5_10.sce b/2309/CH5/EX5.10/Ex5_10.sce new file mode 100755 index 000000000..9846717dd --- /dev/null +++ b/2309/CH5/EX5.10/Ex5_10.sce @@ -0,0 +1,21 @@ +// Chapter 5 Example 10 +//============================================================================== +clc; +clear; + +// input data +// FCC structured crystal + +p = 6250; // Density of crystal in kg/m^3 +N = 6.023*10^26; // Avagadros number in atoms/kilomole +A = 60.2; // molecular weight +n = 4; // No. of atoms per unit cell for FCC + +//Calculations + +a = ((n*A)/(N*p))^(1/3); + +//Output + +mprintf('Lattice Constant a = %3.1e m ',a); +//============================================================================== -- cgit