[Maxima] find_root on splines
robert.dodier at gmail.com
Sun Jun 10 09:47:51 CDT 2007
On 6/10/07, sen1 at math.msu.edu <sen1 at math.msu.edu> wrote:
> (%i1) load(interpol);
> (%i2) xx: makelist([i*.5, sin(i*.5)],i,1,6);
> (%i3) p: cspline(xx);
At this point I find find_root(''p, x, 0, 4) finds a root at about 3.14.
find_root evaluates its first argument in manner different from
other Maxima functions, so the quote-quote is needed.
Also, if the first argument is an expression, you have to specify
the independent variable.
I have reworked find_root to make it evaluate its first argument
in same way as other Maxima functions; more on that soon.
More information about the Maxima