summaryrefslogtreecommitdiff
path: root/1970/CH10/EX10.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1970/CH10/EX10.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1970/CH10/EX10.10')
-rwxr-xr-x1970/CH10/EX10.10/CH10Exa10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1970/CH10/EX10.10/CH10Exa10.sce b/1970/CH10/EX10.10/CH10Exa10.sce
new file mode 100755
index 000000000..ee6c0c8a7
--- /dev/null
+++ b/1970/CH10/EX10.10/CH10Exa10.sce
@@ -0,0 +1,14 @@
+// Scilab code Exa10.10 : : Page-458 (2011)
+clc; clear;
+N_0 = 6.02252e+26; // Avogadro's constant
+sigma = 3.5e-28; // Cross section, square metre
+rho = 8.9e+03; // Nuclear density, Kg per cubic metre
+M = 58; // Mass number
+summation = rho/M*N_0*sigma; // Macroscopic cross section, per metre
+x = 0.01e-02; // Thickness of nickel sheet, metre
+I0_ratio_I = exp(summation*x/2.3026); // Fractional attenuation of neutron beam on passing through nickel sheet
+printf("\nThe fractional attenuation of neutron beam on passing through nickel sheet = %6.4f", I0_ratio_I);
+
+// Result
+// The fractional attenuation of neutron beam on passing through nickel sheet = 1.0014
+// Wrong answer given in the textbook