summaryrefslogtreecommitdiff
path: root/1271/CH12/EX12.27/example12_27.sce
blob: b609a447aedeca61fd394d6eb1a1e6b4190c35eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc 
// Given that
m1 = 4.00260 // mass of He(4) in a.m.u.
m2 = 0.00055 // mass of electron in a.m.u.
m3 = 12 // mass of C(12) in a.m.u.
// Sample Problem 27 on page no. 12.40
printf("\n # PROBLEM 27 # \n")
printf(" Standard formula used \n")
printf(" del_E = del_m * c^2 \n")
delta_m = 3 * m1 - m3
E = delta_m * 931
printf("\n Energy produce by each reaction is %f MeV.",E)