HyperWorks Solvers

MAX

MAX

Previous topic Next topic No expanding text in this topic  

MAX

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Format

MAX(num1,num2)

Description

Returns the maximum of two expressions num1 and num2:

MAX(num1, num2) = num1  if num1>=num2

MAX(num1, num2) = num2  if num2>num1

Example

<Reference_Variable

    id                  = "1"

    label               = "MAX Example"

    type                = "EXPRESSION"

    expr                = "MAX(AY(569,193),2*PI)"

/>

Arguments

num1

Any valid function expression or constant.

num2

Any valid function expression or constant.

See Also:

Functions

Command Statements

Model Statements

Notation and Syntax