clear clc disp('Exa-14.2'); mvo=1116;mp=938;mpi=140; //mass of various particles Q=(mvo-mp-mpi); //Q value of energy Pp=100;Ppi=100; //momentum of various particles Kp=5;Kpi=38-Kp; //kinetic energy of particles printf('The kinetic energy of the particles Kp and Kpi are %d MeV and %d MeV respectively',Kp,Kpi);