xFunc
xFunc copied to clipboard
The equation solving.
Hi, do you still plan to implement a solve-method? Like this, solve(cos(x^2)=0.5, x). It would be great ;)
Kind Regards Ronny
@ronnycsharp
Hello, I posted previous comment just to save the link to Brent's method algorithm (for future), but I'm not sure, when and how I will implement the Solve function (the current ticket was opened 4 years age =) ).
Probably, I should use external library (eg. Accord .NET), which has already implemented algorithm.
P.S. Also, these algorithms provide approximate solution, maybe there is a symbolic (like I will do it on paper, eg. same problem as for Integrals) algorithm.
Maybe we could integrate the Accord Algorithm. It sounds like a good solution, if the source is under the right license.
Do you mean Brents method is a good way to solve a function like x^2+y^2+z^2=4 for z? Thx, Regards Ronny
The solve function is already implemented in my dev-branch. Please look into it, if you want to merge it into your code. I solved it with Newton-Raphson-Method.