beautypg.com

HP 15c User Manual

Page 236

background image

236 Appendix D: A Detailed Look at

_

Return to Program mode and add instructions to your subroutine to
eliminate the root just found.

Keystrokes

Display

000-

Program mode.

| ‚ |

026–

30 Line before n.

®

027–

34 Brings x into X-register.

l 0

028–

45 0

Divides by (xa), where
a is known root.

-

029–

30

÷

030–

10

Now use the same initial estimates to find the next root.

Keystrokes

Display

4.0000 -06

Run mode.

10

“ v

–10.0000

Same initial estimates.

20

–20

´ _ 2

0.4000

Second root.

O 1

0.4000

Stores root for deflation.

) )

0.0000

Deflated function value.

Now modify your subroutine to eliminate the second root.

Keystrokes

Display

000-

Program mode.

| ‚ |

030– 10

Line before n.

®

031– 34

Brings x into X-register.

l 1

032– 45 1

-

033– 30

Deflation for second root.

ч

034– 10