Small Solver Program
|
02-14-2019, 07:06 AM
Post: #2
|
|||
|
|||
RE: Small Solver Program
(02-14-2019 05:25 AM)Gamo Wrote: Example: X^X = 1000 You can rewrite this equation such that \(x\) is a fixed point of \(f(x)\), that is \(x=f(x)\): \(x=\frac{3}{LOG(x)}\) Then you can iterate the following program with a starting value, say \(x=4\): Code: 001- 43 13 : LOG Example: 4 R/S 4.982892143 R/S 4.301189432 R/S 4.734933901 R/S 4.442378438 R/S 4.632377942 R/S 4.505830646 R/S 4.588735607 R/S 4.533824357 R/S 4.569933524 R/S 4.546075273 R/S 4.561789745 R/S 4.551417837 R/S 4.558254212 R/S 4.553744141 R/S 4.556717747 R/S 4.554756405 R/S 4.556049741 R/S 4.555196752 R/S 4.555759258 R/S 4.555388285 R/S 4.555632930 R/S 4.555471588 R/S 4.555577990 R/S 4.555507820 R/S 4.555554095 R/S 4.555523578 R/S 4.555543703 R/S 4.555530431 R/S 4.555539183 R/S 4.555533412 R/S 4.555537217 R/S 4.555534708 … 4.555535704 R/S 4.555535706 R/S 4.555535704 R/S 4.555535706 … From then on the result flips between these last two values. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)