summaryrefslogtreecommitdiff
path: root/3717/CH21/EX21.1/Ex21_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3717/CH21/EX21.1/Ex21_1.sce')
-rw-r--r--3717/CH21/EX21.1/Ex21_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3717/CH21/EX21.1/Ex21_1.sce b/3717/CH21/EX21.1/Ex21_1.sce
new file mode 100644
index 000000000..073d804aa
--- /dev/null
+++ b/3717/CH21/EX21.1/Ex21_1.sce
@@ -0,0 +1,11 @@
+// Ex21_1 Page:399 (2014)
+clc;clear;
+m_pi = 140; // Mass of a pion, MeV
+m_p = 938.3; // Mass of a proton, MeV
+m_K = 498; // Mass of a kaon, MeV
+m_lambda = 1116; // Mass of lambda hyperon, MeV
+Q = m_pi + m_p - m_K - m_lambda;
+printf("\nThe Q-value of the reaction = %3d MeV", floor(Q));
+
+// Result
+// The Q-value of the reaction = -536 MeV