(41C) Method of Successive Substitutions
|
06-12-2022, 09:14 PM
Post: #6
|
|||
|
|||
RE: (41C) Method of Successive Substitutions
We can already see from these examples that the larger the solution, the faster the convergence.
\( \begin{align} f^{-1}(x) &= \sin^{-1}\left(\frac{\pi}{x}\right) + 1000 \pi \\ \end{align} \) Code: 00 { 9-Byte Prgm } If we start with \( 3141 \) and iterate the program we get: 3141.00000000 3141.59365378 3141.59365359 3141.59365359 … This reminds me of my solution to an older challenge by Valentin: Short & Sweet Math Challenge #19: Surprise ! [LONG] Quote:Instead of solving tan(x) = x, I solved x = arctan(x) using a fixed-point iteration which converges faster as N grows. The reason is similar: Larger fixed-points are closer to the poles. As a result, the derivative of the inverse becomes flatter and tends towards \( 0 \). This increases the speed of convergence. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(41C) Method of Successive Substitutions - Eddie W. Shore - 10-04-2020, 04:21 PM
RE: (41C) Method of Successive Substitutions - Albert Chan - 10-06-2020, 12:57 AM
RE: (41C) Method of Successive Substitutions - Thomas Klemm - 06-10-2022, 07:20 AM
RE: (41C) Method of Successive Substitutions - Albert Chan - 06-10-2022, 04:51 PM
RE: (41C) Method of Successive Substitutions - Thomas Klemm - 06-11-2022, 07:11 AM
RE: (41C) Method of Successive Substitutions - Thomas Klemm - 06-12-2022 09:14 PM
|
User(s) browsing this thread: 1 Guest(s)