beautypg.com

Overflow and underflow, Problems – HP 15c User Manual

Page 45

background image

Section 3: The Memory Stack, LAST X, and Data Storage

45

Example: Keep a running count of your newly blooming crocuses for two
more days.

Keystrokes

Display

8 O 0

8.0000

Places the total number of blooms as of

day 2 in R

0

.

4 O + 0

4.0000

Day 3: adds four new blooms to those
already blooming.

3 O + 0

3.0000

Day 4: adds three new blooms.

24 l - 0

9.0000

Subtracts total number of blooms
summed in R

0

(15) from the total

number of plants (24); 9 crocuses have
not bloomed.

l 0

15.0000

(The number in R

0

does not change.)

Overflow and Underflow

If an attempted storage or recall arithmetic operation would result in
overflow in a data storage register, the value in the affected register will be
replaced with ±9.999999999×10

99

and the display will blink. To stop the

blinking (clear the overflow condition), press − or = or | " 9.

In case of underflow, the value in the register will be replaced with zero (no
display blinking). Overflow and underflow are discussed further on page
61.

Problems

1. Calculate the value of x in the following equation.

(2.01)

(1.71)

2.75)

(3.15

4.3

0.32]

7.46)

[(8.33

5.2)

(4

8.33

x

Answer: 4.5728.

A possible keystroke solution is:

4

v 5.2 - 8.33 * | K 7.46 - 0.32 * ÷ 3.15

v 2.75 - 4.3 * 1.71 v 2.01 * - ч ¤