Need help with computing an approximation of a singular integral.

Hey guys,
I'm fairly new at Matlab but would like to use it to compute the integral from [0,infinity): (sin(x^5)) / (x^(2)*(1+x)^(55)) dx
I was going to use the Gauss quadrature but that only works for polynomials, hence i'm not entirely sure as to what method or technique I can use in this case. Any ideas?
Thanks a lot

 Accepted Answer

Use integral function.
fun = @(x) (sin(x.^5)) ./ (x.^(2).*(1+x).^55);
q = integral(fun,0,inf)

1 Comment

hi I have a problem. IF the limit of this integral consist(-inf,0) the answer will be right?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!