% Matlab quad function use

% Function calls: fsim.m
%

integralArea = quad('fsim',0,3.0);

fprintf('The value of the area under the curve is %15.8f\n',integralArea)