Integral2 Not A Number

2 views (last 30 days)
Tommaso Attili
Tommaso Attili on 31 Jan 2019
Dear all I have to solve this integrala, but it gives Nan. Any suggestions?
a=5
d=50
r=25
B=@(x,y)(besselj(0,x.*y.*a/d)).*((1-y.^2).^0.5).*y.*besselj(0,x*r/d).*((x.*tanh(x)).^0.5).*sin((((9.81/d*10)^2).*x).*tanh(x)).^0.5).*x;
E=integral2(B,0,inf,0,1,'Method','iterated')
Thanks!

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!