필터 지우기
필터 지우기

integration not giving a numerical answer?

조회 수: 2 (최근 30일)
Seb apple
Seb apple 2020년 8월 10일
댓글: Seb apple 2020년 8월 10일
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)

채택된 답변

hosein Javan
hosein Javan 2020년 8월 10일
vpa(I)
ans =
13.475706197048467507041153147166

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by