Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

List of ways to highly accurately solving a mixed equation

  1. Apr 2, 2015 #1
    I would like a list of ways highly accurate to solve the equation:

    E - e * sin(E) = M

    I can solve this with the Newton Method:

    M = 2*pi/3
    e = 0.002
    E = pi
    d = 0.01
    Do While SQRT(d^2) > 0.000001
    d= (E - e * sin(E) - M) / (1 - e * cos(E))
    E = E + d
    Loop

    This is not very accurate.

    Is there some sort of trigonometric expansion or infinite series that would be more accurate?
     
    Last edited: Apr 2, 2015
  2. jcsd
  3. Apr 2, 2015 #2
    This is very puzzling. Are you saying that Newton's method is not very accurate, or that it doesn't converge fast enough for you? Either way, your equation for implementing it doesn't look correct to me. Shouldn't it be E = E - d, not E = E + d? Also, your initial guess for these parameter values would be better chosen to be E = M.

    Chet
     
  4. Apr 2, 2015 #3

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    There are methods that converge faster than Newton - you can take the second derivative into account, for example. But they are not more accurate - the limit is always exactly the solution to the equation (or the limits of your floating point precision).
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: List of ways to highly accurately solving a mixed equation
Loading...