Finding Roots of Neumann Function N_n(x)

  • Thread starter Thread starter castusalbuscor
  • Start date Start date
  • Tags Tags
    Functions Neumann
Click For Summary
To find the roots of the Neumann function N_n(x), using C/C++ or FORTRAN is recommended, as these are the programming languages specified for the assignment. The Neumann function can be related to Bessel functions, and built-in functions like jn and yn in C's math libraries can facilitate this process. A useful equation for the Neumann function is provided, which can help in calculating roots. Setting up approximations for transcendental functions may require numerical analysis techniques. Success in implementing these methods is anticipated.
castusalbuscor
Messages
15
Reaction score
0
So for an assignment I have to write a program to find the roots of the Neumann function N_{n}(x). However the only Neumann function I have in my class notes is:
Neumann1.png

Which is not overly helpful, and its the only one that was "boxed" in class.

Any hints on how I can incorporate that into a computer program to find the roots would be great!
 
Physics news on Phys.org
What system are you using to write the program? If it's something like Mathematica you should find that the Neumann function is already defined (as a form of Bessel function).
 
Dick said:
What system are you using to write the program? If it's something like Mathematica you should find that the Neumann function is already defined (as a form of Bessel function).

I've never used Mathematica, though there seems to be a lot of people mentioning it. The prof wants us to use either C/C++ or FORTRAN. I have some experience with C++ so that's what I would be using.
Also I would be compiling it in Unix/Linux, if that helps...

Found an equation on Wikipedia:

Y_{\alpha} = \frac{J_{\alpha}cos(\alpha \pi) - J_{- \alpha}}{sin(\alpha \pi)}

This one seems more promising, but not sure how to use it to find the first five roots for N_{1}, N_{2}, and N_{3}
 
You should find built in functions in the C math libraries, things like jn and yn. Setting up decent approximations for transcendental functions like this is a job for a numerical analysis type person. Just finding roots once the functions are defined isn't so hard.
 
Dick said:
You should find built in functions in the C math libraries, things like jn and yn. Setting up decent approximations for transcendental functions like this is a job for a numerical analysis type person. Just finding roots once the functions are defined isn't so hard.

Sounds doable.. will. report back with success or failure.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K