(15C) Fibonacci Numbers
|
08-07-2023, 10:09 PM
Post: #6
|
|||
|
|||
RE: (15C) Fibonacci Numbers
(03-23-2017 01:32 PM)Eddie W. Shore Wrote: n = 44 √5 ≈ 2.23606797749979 Round to 10 digits, we have huge ulp error, almost 1/2 ULP (1+√5) relative error = 0.49979E-9 / 3.23607 = 1.54E-10 (1 + ε)^n ≈ 1 + n*ε F(44) corrections ≈ 44 * 1.54E-10 * 701408728.7 ≈ 4.8 F(44) ≈ 701408728.7 + 4.8 = 701408733.5 (error = -0.5) F(49) corrections ≈ 49 * 1.54E-10 * 7778741992 ≈ 59 F(49) ≈ 7778741992 + 59 = 7778742051 (error = -2) √20 is better, ulp error = 2 * 0.49979 - 1 = -0.00042 ULP F(n) ≈ (2+√20)^n / (2^(2n-1)*√20) On my HP12C: F(44) = 701,408,733.1 (error -0.1) F(49) = 7,778,742,050 (error -1) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(15C) Fibonacci Numbers - Eddie W. Shore - 03-23-2017, 03:22 AM
RE: (15C) Fibonacci Numbers (bug with 15C LE?) - Eddie W. Shore - 03-23-2017, 01:32 PM
RE: (15C) Fibonacci Numbers - Albert Chan - 08-07-2023 10:09 PM
RE: (15C) Fibonacci Numbers - Werner - 08-08-2023, 11:05 AM
RE: (15C) Fibonacci Numbers - Albert Chan - 08-08-2023, 11:44 AM
RE: (15C) Fibonacci Numbers - Thomas Klemm - 08-06-2023, 11:06 AM
RE: (15C) Fibonacci Numbers - Joe Horn - 08-06-2023, 04:49 PM
RE: (15C) Fibonacci Numbers - Thomas Klemm - 08-06-2023, 03:16 PM
RE: (15C) Fibonacci Numbers - Thomas Klemm - 08-07-2023, 10:49 PM
RE: (15C) Fibonacci Numbers - Werner - 08-08-2023, 12:06 PM
|
User(s) browsing this thread: 4 Guest(s)