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 /1535/CH14/EX14.6 | |
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 '1535/CH14/EX14.6')
-rwxr-xr-x | 1535/CH14/EX14.6/Ch14Ex6.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1535/CH14/EX14.6/Ch14Ex6.sci b/1535/CH14/EX14.6/Ch14Ex6.sci new file mode 100755 index 000000000..f476831bf --- /dev/null +++ b/1535/CH14/EX14.6/Ch14Ex6.sci @@ -0,0 +1,13 @@ +// Scilab Code Ex14.6: Mean radius of body centered cubic structure: Page-308 (2010)
+chi = 5.6e-006; // Magnetic susceptibility of diamagnetic material
+m = 9.1e-031; // Mass of an electron, kg
+mu_0 = 4*%pi*1e-07; // Magnetic permeability of free space, tesla metre per ampere
+Z = 1; /// Atomic number
+e = 1.6e-019; // Electronic charge, C
+a = 2.53e-010; // Lattice parameter of bcc structure, m
+N = 2/a^3; // The number of electrons per unit volume, per metre cube
+r = sqrt(chi*6*m/(mu_0*Z*e^2*N)); // Mean radius of body centered cubic structure as per Langevin relation for Diamagnetic susceptibility, m
+printf("\nThe mean radius of body centered cubic structure = %5.3e angstrom", r/1e-010);
+
+// Result
+// The mean radius of body centered cubic structure = 8.773e-001 angstrom
\ No newline at end of file |