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 /2795/CH16/EX16.7 | |
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 '2795/CH16/EX16.7')
-rwxr-xr-x | 2795/CH16/EX16.7/Ex16_07.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2795/CH16/EX16.7/Ex16_07.sce b/2795/CH16/EX16.7/Ex16_07.sce new file mode 100755 index 000000000..0332a4f0b --- /dev/null +++ b/2795/CH16/EX16.7/Ex16_07.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex16.7: Page-598(2014)
+clc; clear;
+c = 1; // For simplicity assume speed of light to be unity, m/s
+d = 1.6e+005; // Distance of the supernova 1987A from the earth, ly
+m = 16; // Mass of heavier neutrino, eV/c^2;
+E = 20e+006; // Energy of the neutrino, eV
+delta_t = d/(2*c)*(m/E)^2; // Difference between the travel times of the lighter and the massive neutrinos, y
+printf("\nThe difference between the travel times of the lighter and the massive neutrinos = %3.1f s", delta_t*(365.25*24*60*60));
+
+// Result
+// The difference between the travel times of the lighter and the massive neutrinos = 1.6 s
\ No newline at end of file |