summaryrefslogtreecommitdiff
path: root/1970/CH10/EX10.1/CH10Exa1.sce
blob: 08c62275dd8c7072d9581c9c7f34b29a911daf22 (plain)
1
2
3
4
5
6
7
8
9
// Scilab code Exa10.1 : : Page-455 (2011)  
clc; clear;
M = 47.668;            // Total mass of reaction, MeV
E = 44.359;            // Total energy, MeV
Q = M-E;                // Q-value, MeV
printf("\nThe Q-value for the formation of P30 = %5.3f MeV", Q);

// Result
// The Q-value for the formation of P30 = 3.309 MeV