Difference between revisions of "Max Command"

From GeoGebra Manual
Jump to: navigation, search
Line 10: Line 10:
 
:Returns the upper bound of the interval, e.g. <code>Max[2<x<3]</code> returns 3. It is the same for open and closed intervals.
 
:Returns the upper bound of the interval, e.g. <code>Max[2<x<3]</code> returns 3. It is the same for open and closed intervals.
 
==CAS Syntax==
 
==CAS Syntax==
 +
; Max[Number a, Number b]: Yields the maximum of the given numbers ''a'' and ''b''.
 
; Max[List of Numbers]: Yields the maximum of the numbers within the list.
 
; Max[List of Numbers]: Yields the maximum of the numbers within the list.
; Max[Number a, Number b]: Yields the maximum of the given numbers ''a'' and ''b''.
 

Revision as of 09:57, 16 August 2011


Max[Number a, Number b]
Yields the maximum of the given numbers a and b.
Max[List of Numbers]
Yields the maximum of the numbers within the list.
Note: If the input consists of non-numeric objects, then Max[] considers the numbers associated with those objects. For example, Max[List of Segments] will yield the maximum segment length.
Max[ Function, left-x, right-x ]
Calculates the maximum point for function in the given interval. Function should only have on maximum point in the interval.
Max[ Interval ]
Returns the upper bound of the interval, e.g. Max[2<x<3] returns 3. It is the same for open and closed intervals.

CAS Syntax

Max[Number a, Number b]
Yields the maximum of the given numbers a and b.
Max[List of Numbers]
Yields the maximum of the numbers within the list.
© 2024 International GeoGebra Institute