240 Appendix B: Algebraic Mode (ALG)

The stack diagrams showing the output for the Calendar and Financial functions on page 233 are the same for ALG as RPN mode. To add INT and PRICE after executing the bond E function, press +~}. In this case, ~ is used to enter the second argument for the + operation. After executing +~}, the total price (INT + PRICE) will be displayed. LAST X will be unchanged, but the original PRICE will be found in the Y-register. One can also do +d}to get the total price, with the only difference being that the original PRICE would then be in the T-register.

Parentheses Calculations

In ALG mode, parentheses can be used in calculations to change the order in which operations are evaluated. When there are pending open parentheses, the ( ) status indicator will be shown in the display. As open parentheses are closed, the expression contained within the parentheses is evaluated. The final result of a calculation will be displayed when you press the ³ key, and then any pending parentheses will be closed. You can’t use more than 13 pending (opened) parentheses at the same time.

8

(5 1)

Keying 8 ÷ 5 – 1 will calculate 8 ÷ 5 first and then the result (1.6) will have 1 subtracted from it (resulting in 0.6).

Keystrokes

Display

 

 

 

 

(ALG mode)

 

 

 

 

 

 

 

 

 

OO

0.00

Clears any pending operations.

8zgØ5-

5.00

No calculation is done.

1

4.00

Calculates 5 1.

³

2.00

Calculates

 

8

.

 

 

(5

1)

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 240 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm