integration not giving a numerical answer?

1 visualizzazione (ultimi 30 giorni)
Hi I can not understand why I am not reciveing a numerical answer for I for my intergration code below. I dont know if it has something to do with the fact it involves besselj fuction. can anyone help me?
syms x
r=[2.40482555770, 5.52007811029, 8.65372791291, 11.7915344390, 14.9309177085, 18.0710639679, 21.2116366299, 24.3524715308, 27.4934791320, 30.6346064684, 33.7758202136, 36.9170983537, 40.0584257646, 43.1997917132, 46.3411883717, 49.4826098974]
g=9.81;
i=1;
k=1;
L=50;
ai=0.5*r(i)*sqrt(g/L);
ak=0.5*r(k)*sqrt(g/L);
xi=2*ai*sqrt((L-x)/g);
xk=2*ak*sqrt((L-x)/g);
m=(besselj(0,xi)*besselj(0,xk));
I=int(m,x,0,L)

Risposta accettata

hosein Javan
hosein Javan il 10 Ago 2020
vpa(I)
ans =
13.475706197048467507041153147166

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by