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: max (<x_1>, ..., <x_n>) Return a simplified value for the maximum of the expressions <x_1> through <x_n>. When get (trylevel, maxmin), is 2 or greater, max uses the simplification max (e, -e) --> |e|. When get (trylevel, maxmin) is 3 or greater, <max> tries to eliminate expressions that are between two other arguments; for example, max (x, 2*x, 3*x) --> max (x, 3*x). To set the value of trylevel to 2, use put (trylevel, 2, maxmin).
![Max Example f(x):=max(x-1,log(x));
plot2d([2*x-2,log(x)],[x,0.1,1.5],[style, [lines,2]]);](http://maxima-online.org//plot.html?g=p-632245075.png&t=img&db=r-1067982905)
There are also some inexact matches for max. Try ?? max to see them.
(%o1) true (%i2)