Most impressive/complex/amazing C-series program?
|
08-12-2018, 02:21 PM
Post: #37
|
|||
|
|||
RE: Most impressive/complex/amazing C-series program?
(08-12-2018 12:13 PM)Thomas Klemm Wrote: Not sure if that was not made clear but we're not using the linear regression the way described in your example. Oh, I see. You are "borrowing" a formula from L.R ... Brilliant This trick, I could not do on the Casio :-( Quote:The determinant \(1000001\times999999-1000000^2\) turns out to be \(0\) on the HP-11C. I recently discovered a trick to get more precision out of a calculator. This example is from your Quadratic Solver Article: Calculate B^2 - AC = 735246^2 - 11713 * 46152709 On my Casio, both B^2 and AC got R = 5405866805e2 The tenth digit (5e2) could be off. So, find out last 3 digits: B^2 % 1e3 = 246 ^ 2 % 1e3 = 516 = 16 + 5e2 (matching R last digit) AC % 1e3 = 713 * 709 % 1e3 = 517 = 17 + 5e2 (matching R last digit) So, B^2 - AC = (R + 16) - (R + 17) = -1 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)