Computing a differential equation using a bessel function.

How do we use the bessel function of :
y = besselj(0,x)
to compute the differntial equation of ?

댓글 수: 1

Please dont ask exactly the same question again, just to get yet more information. I closed your first question.

댓글을 달려면 로그인하십시오.

 채택된 답변

Torsten
Torsten 2022년 10월 23일
편집: Torsten 2022년 10월 23일
The solution y of this differential equation is a combination of J_0(x) and Y_0(x), the Bessel function of the first and second kind of order 0.
So using it to solve the differential equation makes no sense.
syms x y(x)
eqn = diff(y,x,2)*x^2 + diff(y,x)*x + x^2*y == 0;
Dy = diff(y,x);
conds = [y(0)==1,Dy(0)==0];
sol = dsolve(eqn,conds);
hold on
fplot(sol,[0 100])
x = 0:0.1:100;
plot(x,besselj(0,x))
hold off

댓글 수: 7

how would we graph this?
"this" is what ?
sorry, how do we graph the answer to our equation?
Torsten
Torsten 2022년 10월 23일
편집: Torsten 2022년 10월 23일
See above. You have to specify two initial conditions for the differential equation to get a unique solution. The conditions y(0) = 1 and y'(0) = 0 give J_0(x). As noted, other initial conditions will give a "mixture" of J0(x) and Y0(x).
Howie
Howie 2022년 10월 23일
편집: Howie 2022년 10월 23일
How do we graph it in the way to look like this? Or the same format?
Torsten
Torsten 2022년 10월 23일
편집: Torsten 2022년 10월 23일
Done.
But now it's enough about Bessel, isn't it ?
Yes thank you so much!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Bessel functions에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 10월 23일

댓글:

2022년 10월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by