MATLAB: How to evaluate the integral

id

I tried to evaluate this integral:
exp(7.313 x)/(x^2+1.7439)dx on the interval 0 to 0.001.
Then I had this kind of error : Unexpected MATLAB expression. So how do I write and evaluate it?
Thank you.

Best Answer

I suggest:
f = @(x) exp(7.313.*x)./sqrt(x.^2+1.7439);
fi = integral(f, 0, 0.001)
produces:
fi =
760.0254e-006
Related Question