Sign, Truncate, Xpon – HP 39g Graphing Calculator User Manual

Page 156: Examples, Example, Statistics-two, Statistics-two -18

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

SIGN

TRUNCATE

XPON

Sign of value. If positive, the result is 1. If negative, -1. If

zero, result is zero. For a complex number, this is the unit
vector in the direction of the number.

SIGN(vo/«i>)
SIGN((x,>>))

Examples

SIGN ( - 2 ) returns -1

SIGN ( ( 3 , 4 ) ) returns ( . 6 , . 8 )

Trancates value to decimal places. Accepts complex

numbers.

TRUNCATE(va/«e, places)

Example

TRUNCATE ( 2 . 3 6 7 8 , 2 ) returns 2 . 3 6

Exponent of value.

XPOn(value)

Example

XPON (12 3 . 4 ) returns 2

Statistics-Two

These are functions for use with two-variable statistics. See
“Two-variable” on page 8-14.

10-18

Using mathematical functions

Advertising