Trigonometry functions – HP 39gs User Manual

Page 171

Advertising
background image

Using mathematical functions

13-19

= =

Equals (logical test). Returns 1 if true, 0 if false.

value1==value2

Not equal to. Returns 1 if true, 0 if false.

value1value2

>

Greater than. Returns 1 if true, 0 if false.

value1>value2

Greater than or equal to. Returns 1 if true, 0 if false.

value1value2

AND

Compares value1 and value2. Returns 1 if they are both
non-zero, otherwise returns 0.

value1

AND value2

IFTE

If expression is true, do the trueclause; if not, do the
falseclause.

IFTE(expression, trueclause, falseclause)

Example

IFTE(X>0,X

2

,X

3

)

NOT

Returns 1 if value is zero, otherwise returns 0.

NOT value

OR

Returns 1 if either value1 or value2 is non-zero, otherwise
returns 0.

value1

OR value2

XOR

Exclusive OR. Returns 1 if either value1 or value2—but
not both of them—is non-zero, otherwise returns 0.

value1

XOR value2

Trigonometry functions

The trigonometry functions can also take complex
numbers as arguments. For SIN, COS, TAN, ASIN,
ACOS, and ATAN, see the Keyboard category.

ACOT

Arc cotangent.

ACOT(value)

HP 39gs English.book Page 19 Wednesday, December 7, 2005 11:24 PM

Advertising
This manual is related to the following products: