Computing a differential equation using a bessel function.

10 次查看(过去 30 天)
How do we use the bessel function of :
y = besselj(0,x)
to compute the differntial equation of ?
  1 个评论
John D'Errico
John D'Errico 2022-10-23
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 个评论
Torsten
Torsten 2022-10-23
编辑:Torsten 2022-10-23
Done.
But now it's enough about Bessel, isn't it ?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bessel functions 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by