Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: return (<value>) May be used to exit explicitly from a block, bringing its argument. See block for more information.
![Return Example f(x):=cos(%pi*x)-4^x+1;
y[1]:0;
y[2]:1/2;
y[3]:1;
x[1]:f(y[1]);
x[2]:f(y[2]);
x[3]:f(y[3]);
l[i](x)=block(t1:1,t2:2,for j:1 thru 3 do if not i=j then (t1:t1*(x-x[j]),t2:t2*(x[i]-x[j])),return (t1));
l(0);
float(%o10);
float(find_root(f(x),x,0,1));
kill(all);](http://maxima-online.org//plot.html?g=i-48579265.png&t=img&db=r1310579199)
There are also some inexact matches for return. Try ?? return to see them.
(%o1) true (%i2)