Can you calculate Pi using a Solver?
|
12-11-2019, 08:00 PM
(This post was last modified: 12-12-2019 04:46 PM by Albert Chan.)
Post: #16
|
|||
|
|||
RE: Can you calculate Pi using a Solver?
(12-11-2019 05:49 PM)Roland57 Wrote: pi = 2 * integral(1 / sqr(1-x*x), x, 0, 1) Some calculators have problem with singularity at the limits. We can do this instead: pi = 6 asin(.5) = integrate(6 / sqrt(1-x*x), x = 0 .. 0.5) or, to speed it up a bit ... pi = 4 atan(1) = integrate(4 / (1+x*x), 0, 1) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)