Solve for Roots of Bessel Function of First Kind
13 views (last 30 days)
Show older comments
Maressa Schulze
on 22 Feb 2021
Commented: Walter Roberson
on 22 Feb 2021
I have this Bessel function that I am trying to solve for the roots qn. They are dependent upon alpha, which I was able to figure out. The literature sources I have are from the 80s and give me a simple table with 6 roots and alphas ranging from zero to infinity, but I need to be able to use this in my infinite summation model, so being able to solve for more would be useful.
Any help would be greatly appreaciated. I have downloaded the besselzero function so far, but don't know how to modify that to what I am trying to solve, with my modifications being external to the bessel function.
Thank you
0 Comments
Accepted Answer
Walter Roberson
on 22 Feb 2021
syms q_n
alpha = 123.456;
eqn = alpha * q_n * besselj(0, q_n) + 2 * besselj(1, q_n) == 0
guess = sqrt(5)
vpasolve(eqn, q_n, guess)
fplot(lhs(eqn), [-5 5])
2 Comments
Walter Roberson
on 22 Feb 2021
N = 100;
syms q_n
alpha = 123.456;
eqn = alpha * q_n * besselj(0, q_n) + 2 * besselj(1, q_n) == 0
sols = zeros(N, 1, 'sym');
for K = 1 : N
guess = K * pi;
sols(K) = vpasolve(eqn, q_n, guess);
end
vpa(sols,10)
More Answers (0)
See Also
Categories
Find more on Bessel functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


