Message Boards Message Boards

0
|
2567 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Finding multiple roots with one input

Posted 10 years ago

Hello, guys.

Is there simple ways to get multiple roots using FindRoot or Solve command ? To get one solution with a given range of x is ok. But I couldn't find the way for multiple roots.

For example, in following equation... Solve[SphericalBesselJ[1, x] == 0, x]

Could you help me ? Thank you in advance.

POSTED BY: hwoarang Polar

You can give an interval where to look for roots:

Solve[SphericalBesselJ[1, x] == 0 && -1 <= x <= 10, x]

On my system Solve misses the x=0 solution, but it finds two nonzero solutions.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract