% Function to be integrated using Matlab numerical integration techniques
%
function f=fsim(x)

f=30+2.*x.^3-25.*sin(x)+cos(x.^.12);