I am trying to solve an equation iteratively in Grasshopper.
The process would be the following:
- having an initial guess (first iteration) or input value
- calculating output value
- if output is equal to the input by a defined tolerance end process, if not repeat process with output value till convergence is achieved
How would you approach this? I tried to define a C# script but cannot think if anything without recursion…
I also heard of Hoopsnake, would it work for this? (if there is a solution within Grasshopper native components or easy scripting would be better)