Solving equation by Grashhopper

Hello; i see several topics about how to solve equations ; and always the answer: Galapagos which take long time and don’t give all solutions if the equations need two or more solutions, or external softwares.
I don’t know if this posted before.
The idea is to use graph and find the intersections which are the solution; and more points mean more precision.

For example: x²-(2*x²)+6
Using, the solution is:


with Grasshopper:

solve (13.0 KB)

I hope this help someone

1 Like


solve (12.5 KB)

Similar to solution of David Rutten :slightly_smiling_face: