diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2309/CH5/EX5.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2309/CH5/EX5.8')
-rwxr-xr-x | 2309/CH5/EX5.8/Ex5_8.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2309/CH5/EX5.8/Ex5_8.sce b/2309/CH5/EX5.8/Ex5_8.sce new file mode 100755 index 000000000..98a450dca --- /dev/null +++ b/2309/CH5/EX5.8/Ex5_8.sce @@ -0,0 +1,22 @@ +// Chapter 5 Example 8
+//==============================================================================
+clc;
+clear;
+
+//input data
+//Copper Crystallines in FCC structure
+
+p = 8960; // Density of copper in kg/m^3
+N = 6.023*10^26; // Avagadros number in atoms/kilomole
+A = 63.5; // Atomic weight of copper in kg/mol
+n = 4; // No. of atoms per unit cell for FCC
+
+//Calculations
+
+a = ((n*A)/(N*p))^(1/3);
+
+//Output
+
+mprintf('Lattice Constant a = %3.4f Å\n',a*10^10);
+mprintf(' atomic wt of copper is taken as 63.5*10^-3 instead of 63.5 in textbook')
+//==============================================================================
|