summaryrefslogtreecommitdiff
path: root/1271/CH12/EX12.21/example12_21.sce
blob: 7f7d13c49828686eee1ef4e5af88090bd5310f23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc 
// Given that
m1 = 4.002603 // mass of He(4) in a.m.u.
m2 = 3.016056 // mass of H(3) in a.m.u.
m3 = 1.007276 // mass of H(1) in a.m.u.
// Sample Problem 21 on page no. 12.39
printf("\n # PROBLEM 21 # \n")
printf("Standard law used \n")
printf(" Law of conservation of Energy \n")
k = m2 + m3 - m1
E = k * 931
printf("\n Energy of gamma ray photon is %f MeV.",E)