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

MapleTA[Builtin]

 lsu
 least significant unit

 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

 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{lsu}\left(3,3.14159\right)$
 ${0.01}$ (1)
 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{lsu}\left(2,314\right)$
 ${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.