Post Reply 
Can you calculate Pi using a Solver (on the prime)?
12-17-2019, 04:16 PM
Post: #3
RE: Can you calculate Pi using a Solver (on the prime)?
(12-17-2019 03:54 PM)Valentin Albillo Wrote:  .
Hi, Stevetuc:

(12-17-2019 08:08 AM)Stevetuc Wrote:  Valentin gives a recursive method to solve for Pi using fnroot solver.


Tried this on the prime but it appears that the solver doesnt support recursion

Just a terminology issue: it's not recursion, as you say, it's nesting.

The Solver (FNROOT) instance isn't calling itself (recursion), it's the function being solved the one who's calling another instance of the solver applied to a different equation (nesting).

Think of integration. A double or triple integral isn't recursive integration, it's just nested integration.

Regards.
V.

Thanks for the interesting clarification!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can you calculate Pi using a Solver (on the prime)? - Stevetuc - 12-17-2019 04:16 PM



User(s) browsing this thread: 1 Guest(s)