MapleTA[Builtin] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : MapleTA Package : Builtin : MapleTA/Builtin/lsu

MapleTA[Builtin]

  

lsu

  

least significant unit

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

lsu(n, x)

Parameters

n

-

integer

x

-

numeric

Description

• 

The lsu command returns the unit in the nth significant place of x. This is called the least significant unit of x in the nth place. For example, lsu(3, 3.14159) returns 0.01 (the unit in the third significant place).

• 

This operation is designed to be used when setting the tolerance for correct answers. For example, to accept an answer to within a tolerance of one unit in the third significant digit, use: lsu(3, answer).

Examples

MapleTA:-Builtin:-lsu3,3.14159

0.01

(1)

MapleTA:-Builtin:-lsu2,314

10.

(2)

Compatibility

• 

The MapleTA[Builtin][lsu] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

MapleTA

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam