% LMEx030401_4th
% Larsen & Marx (2006), p. 163-164
% Written by Eugene.Gallagher@umb.edu for EEOS601
% http://alpha.es.umb.edu/faculty/edg/files/edgwebp.html
% Revised 1/12/2011
syms t
% These two symbolic math integrations solve for two definite integrals
PA=int (1/10,t, 1, 3)
PB=int (1/10,t, 6, 8)
% Are these two definite integrals identical? Simplify will take the
% difference of these two definite integrals and the logical operator ==
% will determine if that symbolic difference is zero.
if simplify(PA-PB)==0
    disp('The definite integrals are equal.');
end   
