summaryrefslogtreecommitdiff
path: root/1871/CH7/EX7.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH7/EX7.3
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 '1871/CH7/EX7.3')
-rwxr-xr-x1871/CH7/EX7.3/Ch07Ex3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1871/CH7/EX7.3/Ch07Ex3.sce b/1871/CH7/EX7.3/Ch07Ex3.sce
new file mode 100755
index 000000000..4fdf074e5
--- /dev/null
+++ b/1871/CH7/EX7.3/Ch07Ex3.sce
@@ -0,0 +1,12 @@
+// Scilab code Ex7.3: Pg:276 (2008)
+clc;clear;
+M_n = 1.6747e-027; // Mass of neutron, kg
+M_p = 1.6725e-027; // Mass of proton, kg
+M_e = 9e-031; // Mass of electron, kg
+c = 3e+08; // Velocity of light, m/s
+delta_m = M_n-(M_p + M_e); // Mass defect, kg
+E = delta_m*c^2/1.6e-013; // Energy released, MeV
+printf("\nThe energy produced when a neutron breaks into a proton and an electron = %4.2f MeV", E);
+
+// Result
+// The energy produced when a neutron breaks into a proton and an electron = 0.73 MeV \ No newline at end of file