跳转到内容

This page is also in English.

Read it in English

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

最大值(Maximum of some numbers,max)

若干个数中的最大值。

怎么写

max(a, b, ...)

各参数中的最大值。

a
一个数。接受一个数。
b
一个数。接受一个数。

max(list)

列表中的最大元素。

list
一个数值列表。接受一个列表。

示例

  • max⁡(3,7,5)=7\displaystyle \max(3, 7, 5) = 7
    max(3, 7, 5)

    在求解器中,max(3, 7, 5) 的结果是 7。

    在求解器中打开
  • max⁡([3,7,5])=7\displaystyle \max(\left[ 3, 7, 5 \right]) = 7
    max([3, 7, 5])

    在求解器中,max([3, 7, 5]) 的结果是 7。

    在求解器中打开
  • min

    若干个数中的最小值。

  • log2

    以 2 为底的对数。

  • mod

    整数除法的余数。

  • log10

    以 10 为底的对数。

  • negate

    一个数的相反数:负号的函数形式。

  • log

    对数:ln 为自然对数,log 可指定任意底数。