beautypg.com

Negative numbers – HP Prime Graphing Calculator User Manual

Page 43

background image

Getting started

39

The following examples show the use of parentheses, and
the use of the cursor keys to move outside a group of
objects enclosed within parentheses.

Algebraic

precedence

The HP Prime calculates according to the following order
of precedence. Functions at the same level of precedence
are evaluated in order from left to right.
1. Expressions within parentheses. Nested parentheses

are evaluated from inner to outer.

2. !, √, reciprocal, square
3. n

th

root

4. Power, 10

n

5. Negation, multiplication, division, and modulo
6. Addition and subtraction
7. Relational operators (<, >, ≤, ≥, ==, ≠, =)
8. AND and NOT
9. OR and XOR
10. Left argument of | (where)
11. Assign to variable (:=)

Negative

numbers

It is best to press

Q

to start a negative number or to insert

a negative sign. Pressing

w

instead will, in some

situations, be interpreted as an operation to subtract the
next number you enter from the last result. (This is
explained in “To reuse the last result” on page 41.)
To raise a negative number to a power, enclose it in
parentheses. For example, (–5)

2

= 25, whereas –5

2

= –25.

Entering ...

Calculates …

e

45

+Sz

e

45

>+Sz

Sj

85

>s

9

Sj

85

s

9

45

+

sin

45

 

sin

+

85 9

85 9