Borrar filtros
Borrar filtros

integration not giving a numerical answer?

2 visualizaciones (últimos 30 días)
Seb apple
Seb apple el 10 de Ag. de 2020
Comentada: Seb apple el 10 de Ag. de 2020
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)

Respuesta aceptada

hosein Javan
hosein Javan el 10 de Ag. de 2020
vpa(I)
ans =
13.475706197048467507041153147166

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by