Max Command

From GeoGebra Manual
Jump to: navigation, search




Max[ <List> ]
Returns the maximum of the numbers within the list.
Example: Max[{-2, 12, -23, 17, 15}] yields 17.
Note: If the input consists of non-numeric objects, then this command considers the numbers associated with those objects. If you have a list of segments for example, the command Max[ <List> ] will yield the maximum segment length.


Max[ <Interval> ]
Returns the upper bound of the interval.
Example: Max[2 < x < 3] yields 3.
Note: Open and closed intervals are treated the same.


Max[ <Number>, <Number> ]
Returns the maximum of the two given numbers.
Example: Max[12, 15] yields 15.


Max[ <Function>, <Start x-Value>, <End x-Value> ]
Calculates the maximum point of the function in the given interval. The function should be continuous and have only one local maximum point in the interval.
Example: Max[ x^3 + 2x^2 - 1, -2, 0] creates the point (-1.33, 0.19).


CAS Syntax

Max[ <List> ]
Returns the maximum of the numbers within the list.
Example: Max[{-2, 12, -23, 17, 15}] yields 17.
Note: See also Extremum Command and Min Command.


Max[ <Number>, <Number> ]
Returns the maximum of the two given numbers.
Example: Max[12, 15] yields 15.
© 2024 International GeoGebra Institute