// 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