Finding Roots of Neumann Function N_n(x)

  • Thread starter Thread starter castusalbuscor
  • Start date Start date
  • Tags Tags
    Functions Neumann
Click For Summary

Homework Help Overview

The discussion revolves around finding the roots of the Neumann function N_{n}(x) as part of an assignment. The original poster expresses difficulty due to limited class notes and seeks guidance on programming approaches to tackle this problem.

Discussion Character

  • Exploratory, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss programming environments, with suggestions for using Mathematica or C/C++. The original poster mentions a specific equation found on Wikipedia and questions how to apply it for finding roots of N_{1}, N_{2}, and N_{3}.

Discussion Status

There is an ongoing exploration of programming options and mathematical functions available in C libraries. Some participants have provided hints about built-in functions and numerical analysis techniques, but no consensus has been reached on a specific method to find the roots.

Contextual Notes

The original poster is required to use C/C++ or FORTRAN for the assignment and is compiling in a Unix/Linux environment. There is an indication of uncertainty regarding the application of the Neumann function and its relation to Bessel functions.

castusalbuscor
Messages
15
Reaction score
0
So for an assignment I have to write a program to find the roots of the Neumann function [tex]N_{n}(x)[/tex]. 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:

[tex]Y_{\alpha} = \frac{J_{\alpha}cos(\alpha \pi) - J_{- \alpha}}{sin(\alpha \pi)}[/tex]

This one seems more promising, but not sure how to use it to find the first five roots for [tex]N_{1}[/tex], [tex]N_{2}[/tex], and [tex]N_{3}[/tex]
 
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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · 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
3K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K