Overview - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


evalf

evaluate using floating-point arithmetic

 

Calling Sequence

Parameters

Basic Information

Examples

Details

Calling Sequence

evalf(expression)

Parameters

expression

-

expression to be evaluated

Basic Information

Description

• 

The evalf command numerically evaluates expressions (or subexpressions) involving constants (for example, , , and  ) and mathematical functions (for example, exp, ln, sin, arctan, cosh, GAMMA, and erf).

  

For a complete list of constants, see Initially Known Names. For a complete list of mathematical functions, see Initially Known Mathematical Functions.

Output

• 

The evalf command returns a floating-point or complex floating-point number or expression.

Examples

(1)

(2)

(3)

(4)

The evalf command can be used to evaluate more complex mathematical functions.

(5)

(6)

(7)

(8)

The number of significant digits can be restricted with the evalf command.

(9)

(10)

Details

  

For detailed information including:

• 

Complete description of all parameters

• 

Controlling numeric precision of computations

• 

Special evaluation for user-defined constants and functions

  

see the evalf/details help page.

See Also

Digits

float

fsolve

Initially Known Mathematical Functions

Initially Known Names

Numeric Computation in Maple

Rounding

 


Download Help Document