Difference between revisions of "Max Command"

From GeoGebra Manual
Jump to: navigation, search
(like in Min page: added ref to continuity of f(x))
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|algebra}}
 
{{command|cas=true|algebra}}
 
;Max[ <Number a>, <Number b> ]
 
;Max[ <Number a>, <Number b> ]

Revision as of 21:17, 9 March 2013



Max[ <Number a>, <Number b> ]
Gives the maximum of the given numbers a and b.
Example:
Max[12, 15] yields 15.
Max[ <List of Numbers> ]
Gives 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 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 of the function in the given interval. The function should be continuous and have only one maximum point in the interval.
Max[ <Interval> ]
Gives the upper bound of the interval.
Example:
Max[2 < x < 3] yields 3.
Note: Open and closed intervals are treated the same.

CAS Syntax

Max[ <Number a>, <Number b> ]
Gives the maximum of the given numbers a and b.
Example:
Max[12, 15] yields 15.
Max[ <List of Numbers> ]
Gives 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.
© 2024 International GeoGebra Institute