MapleTA[Builtin] - Maple Programming Help

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

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.