HP 15C and INT(1/√(1-x),0,1)
|
01-21-2018, 03:57 PM
(This post was last modified: 01-21-2018 05:44 PM by TheKaneB.)
Post: #52
|
|||
|
|||
RE: HP 15C and INT(1/√(1-x),0,1)
Back to the original topic:
I used a C implementation of the Romberg algorithm to find the integral of f(x) = 1 / sqrt(1 - x) over the interval 0 - 1 It runs for a relatively long time (several seconds on my 3 GHz Intel i5) and it came up with this result: result = 2.000052194143781214563660 function evaluations = 1073741825 (1 billion of function evaluations!) I set an accuracy of 0.0001 with max steps = 100. I also used the interval from 0 to 0.99999999999 or else it would evaluate to NAN. If i set an accuracy of 0.01 I get this: result = 2.005444550190635499831160 function evaluations = 16777217 Code:
The code source is from wikipedia: https://en.wikipedia.org/wiki/Romberg%27s_method Software Failure: Guru Meditation -- Antonio IU2KIY |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)