Reputation: 225
I have an equation in maxima and I want to find a numerical solution to the variable in this equation. I was wondering if anyone knew a what function in maxima operates most similar to that of FindRoot in mathematica?
There seems to be a couple of ways to do it but I am hoping to check results against that of a mathematica code, hence why I am interested in something similar to FindRoot.
Ben
Upvotes: 1
Views: 3081
Reputation: 31147
Mathematica's FindRoot searches for a numerical solution. The closest thing in Maxima (AFAIK) is find-root, which finds a numerical solution in a given interval.
Example:
(%i4) find_root(x^2=7,x,0,100);
(%o4) 2.645751311064591
Upvotes: 5