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: ldisplay (<expr_1>, ..., <expr_n>) Displays expressions <expr_1>, ..., <expr_n> to the console as printed output. Each expression is printed as an equation of the form lhs = rhs in which lhs is one of the arguments of ldisplay and rhs is its value. Typically each argument is a variable. ldisp assigns an intermediate expression label to each equation and returns the list of labels.
![Ldisplay Example xvals: map(rhs,solve(x^2=9));
answers:x+3=0;
for i:1 while i<=(length(realroots(x^2=9))) do (mye:subst([x=xvals[i]] ,answers),ldisplay(mye));
mye;
if(is(ratsimp((mye)))) then 100;
all;](http://maxima-online.org//plot.html?g=i-103155284.png&t=img&db=r320343602)
See also display.
(%i1) e: (a+b)^3;
3
(%o1) (b + a)
(%i2) f: expand (e);
3 2 2 3
(%o2) b + 3 a b + 3 a b + a
(%i3) ldisplay (e, f);
3
(%t3) e = (b + a) 3 2 2 3
(%t4) f = b + 3 a b + 3 a b + a (%o4) [%t3, %t4]
(%i4) %t3;
3
(%o4) e = (b + a)
(%i5) %t4;
3 2 2 3
(%o5) f = b + 3 a b + 3 a b + a(%o1) true (%i2)