summaryrefslogtreecommitdiff
path: root/3535/CH4/EX4.4/Ex4_4.sce
blob: 4e714fb75686b3f97165be58bc8d22b91d295e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter 4, Example 4.4, Page 95
clc
clear
// Q value in a reaction
MH = 1.00782503
MD = 2.01410178
me = 0.00054858
C2 = 931.5
Q = (2*MH-MD-2*me)*C2
printf("\n Q of the reaction = %f MeV",Q);// Answer provided in the text is wrong 
//Answer may vary due to round off error