Newton-Raphson is used to solve Kepler's equation for a highly eccentric orbit with

PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics

Computational Physics, Ch Where a function vanishes, and what lies between the points

Problem

Newton-Raphson is used to solve Kepler's equation E−esin⁡E=ME - e\sin E = M for a highly eccentric orbit with e=0.90e=0.90, all angles in radians. Near its root E∗≈2.4 radE_*\approx 2.4\ \mathrm{rad} the derivative is f′(E∗)=1−ecos⁡E∗=1.66f'(E_*) = 1 - e\cos E_* = 1.66, and the three quantities entering f(E)=E−esin⁡E−Mf(E) = E - e\sin E - M (namely EE, esin⁡Ee\sin E and MM) are each of order unity in magnitude. Every real number is stored in IEEE 754 binary64, for which ϵmach=2.22×10−16\epsilon_{\rm mach} = 2.22\times10^{-16} and each stored quantity carries a relative rounding error no larger than 12ϵmach\tfrac12\epsilon_{\rm mach}.Someone sets the stopping criterion ∣f(E)∣<10−19|f(E)| \lt 10^{-19}, reasoning: "a smaller number in the tolerance always buys more accurate digits, so asking for 10−1910^{-19} costs nothing and only helps." ((a)) Using ∣f(E)∣≈∣f′(E∗)∣ ∣E−E∗∣|f(E)| \approx |f'(E_*)|\,|E-E_*|, state the error in EE that a criterion ∣f(E)∣<10−19|f(E)|\lt 10^{-19} would leave, if it could ever be satisfied. ((b)) Explain, from the size of the quantities entering ff and the machine epsilon, why the computed residual can never be driven that low, and say what the iteration does instead once it has run past a coded iteration cap. ((c)) Give a residual-type stopping criterion at a defensible tolerance that the arithmetic can actually meet, and state the error in EE it leaves.

Browse the problem library