summaryrefslogtreecommitdiff
path: root/1026/CH13/EX13.5/Example13_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1026/CH13/EX13.5/Example13_5.sce
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 '1026/CH13/EX13.5/Example13_5.sce')
-rwxr-xr-x1026/CH13/EX13.5/Example13_5.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1026/CH13/EX13.5/Example13_5.sce b/1026/CH13/EX13.5/Example13_5.sce
new file mode 100755
index 000000000..425b03dfd
--- /dev/null
+++ b/1026/CH13/EX13.5/Example13_5.sce
@@ -0,0 +1,25 @@
+//chapter13,Example13_5,pg 392
+
+M2H1=2.01474
+
+M3H1=3.01700
+
+M1n0=1.008986
+
+M4He2=4.003880
+
+//thermonuclear reaction in hydrogen bomb explosion
+
+//2H1 + 3H1 -> 4He2 + 1n0
+
+Mreac=M2H1+M3H1//mass of reactants
+
+Mprod=M4He2+M1n0//mass of products
+
+Q=Mreac-Mprod
+
+Q=Q*931//converting in Mev
+
+printf("energy/reaction\n")
+
+printf("Q=%.2f Mev",Q) \ No newline at end of file