beautypg.com

Storing a value in a variable – HP Prime Graphing Calculator User Manual

Page 46

background image

42

Getting started

You can repeat the previous calculation simply by pressing

E

. This can be useful if the previous calculation

involved Ans. For example, suppose you want to calculate
the nth root of 2 when n is 2, 4, 8, 16, 32, and so on.
1. Calculate the square root of 2.

Sj

2

E

2. Now enter √Ans.

SjS+E

This calculates the fourth root of 2.

3. Press

E

repeatedly. Each time
you press, the root is
twice the previous
root. The last answer
shown in the
illustration at the right
is .

To reuse an

expression or result

from the CAS

When your are working in Home view, you can retrieve

an expression or result from the CAS by tapping

Z

and

selecting Get from CAS. The CAS opens. Press

=

or

\

until the item you want to retrieve is highlighted and

press

E

. The highlighted item is copied to the cursor

point in Home view.

Storing a value in a variable

You can store a value in a variable (that is, assign a value
to a variable). Then when you want to use that value in a
calculation, you can refer to it by the variable’s name. You
can create your own variables, or you can take advantage
of the built-in variables in Home view (named A to Z and

) and in the CAS (named a to z, and a few others). CAS

variables can be used in calculations in Home view, and
Home variables can be used in calculations in the CAS.
There are also built-in app variables and geometry
variables. These can also be used in calculations.

2

32