“Max 指令”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
(機器人:執行文字代換作業 (-{{command +{{command|cas=true))
(en)
 
第8行: 第8行:
 
;Max[ <Function>, <Start x-Value>, <End x-Value> ]
 
;Max[ <Function>, <Start x-Value>, <End x-Value> ]
 
:{{translate|Max Command}}
 
:{{translate|Max Command}}
 +
;Max[ <Number a>, <Number b> ]
 +
:Yields the maximum of the given numbers ''a'' and ''b''.
 +
:{{example| 1=<div><code><nowiki>Max[12, 15]</nowiki></code>  yields ''15''.</div>}}
 +
;Max[ <List of Numbers> ]
 +
:Yields the maximum of the numbers within the list.
 +
:{{example| 1=<div><code><nowiki>Max[{-2, 12, -23, 17, 15}]</nowiki></code>  yields ''17''.</div>}}
 +
{{note| 1=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.
 +
{{note|See also [[Extremum Command]] and [[Function Inspector Tool]].}}
 +
;Max[ <Interval> ]
 +
: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==
 +
;Max[ <Number a>, <Number b> ]
 +
:Yields the maximum of the given numbers ''a'' and ''b''.
 +
:{{example| 1=<div><code><nowiki>Max[12, 15]</nowiki></code>  yields ''15''.</div>}}
 +
;Max[ <List of Numbers> ]
 +
:Yields the maximum of the numbers within the list.
 +
:{{example| 1=<div><code><nowiki>Max[{-2, 12, -23, 17, 15}]</nowiki></code>  yields ''17''.</div>}}

2011年10月3日 (一) 09:38的最新版本

Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


Max[ <Number>, <Number> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Max[ <List> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Max[ <Interval> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Max[ <Function>, <Start x-Value>, <End x-Value> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Max[ <Number a>, <Number b> ]
Yields the maximum of the given numbers a and b.
範例:
Max[12, 15] yields 15.
Max[ <List of Numbers> ]
Yields the maximum of the numbers within the list.
範例:
Max[{-2, 12, -23, 17, 15}] yields 17.
備註: 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.
備註: See also Extremum Command and Function Inspector Tool.
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[12, 15] yields 15.
Max[ <List of Numbers> ]
Yields the maximum of the numbers within the list.
範例:
Max[{-2, 12, -23, 17, 15}] yields 17.
© 2024 International GeoGebra Institute