Perimeter of the Ellipse (HP-15C)
|
06-03-2021, 04:25 PM
(This post was last modified: 06-04-2021 05:17 AM by Gerson W. Barbosa.)
Post: #15
|
|||
|
|||
RE: Perimeter of the Ellipse (HP-15C)
Thank you, C.Ret, for the optimization.
It appears the actual approximation should be π(a - b)(y + 1/(4y - 1/(4y - 3/(4y - 3/(4y - 11/(12y - 149/(57y))))))) where y = (a + b)/(a - b) Code:
P(20, 0) = 79.9786371734 More terms would help or perhaps an optimization of the numerators so that the lower half of the table becomes more accurate. P. S.: The error in the length of the orbit of Halley’s Comet is about only 117 km. P(2667950000, 678281900) = 11 464 318 867.1 km ( actual result with these data: 11 464 318 984.1 km ) P. P. S.: Unlike the previous program, the following will work also on the HP-75C. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)