background image

 

hp calculators 

 

HP 48GII

  Algebraic and RPN Operating Modes 

 

 Figure 

9

 

 
The calculator has figured out what to do and in what order, and has given the result. The calculator knows the “rules of operator 

precedence” when it calculates a result, for example that addition and subtraction should be done after multiplication and division, so 

it has simplified the expression, taking out the unnecessary brackets in (3.2*SQ(5)). Whenever you type an expression with any 

possible ambiguity in it, the HP48GII applies the rules of operator precedence in evaluating the expression. 
 

One important consequence of the rules of precedence can cause confusion. This is that an expression such as –5^2 works out as 

–25.00, not 25.00. Raising a number to a power has higher precedence than changing a sign, so it is done first, and the expression 

is worked out as –(5^2).  
 

Switch to RPN mode and try doing the same example calculation. 

 

5„º3.2*3~…2+R

 

 

As you went through the calculation, you saw intermediate results at each step, so you could notice any obvious errors, but when 

you are finished you only see the final result. 

 

 Figure 

10

 

 
The RPN calculation takes 6 fewer keys, and you see what is happening step by step, but you have to work out for yourself what to 

do and in what order. Even if you did not put in the extra brackets in the Algebraic example above, RPN would take 3 less 

keystrokes. If you are willing to work out how to do the calculation, RPN saves you any confusion about brackets, and works with 

fewer keystrokes. 
 

If you are new to HP calculators, try using both modes and see if you prefer one or the other, or if you want to switch between them 

as you use the HP48GII. 

 

Example – which stepladder? 

 

Many people would prefer to type the example above as a formula in Algebraic mode, rather than use RPN mode and do it a step at 
a time. Now here is an example to show how RPN mode is useful for solving step-by-step problems. 

 

You need to fix a tile that has fallen off your roof. The roof is 28 feet up, and you have a stepladder that is 29 feet long. You could 

also borrow your neighbor’s 38 foot ladder. Is either ladder good for the job? You could try leaning each one in turn against the roof 
and seeing which one is better, but it’s raining, so why not work it out first on your HP48GII by seeing what angle each ladder will 

make with the vertical when you lean it against the roof? 

 

First try it for your own ladder. Switch to RPN mode if it is not set. Enter the ladder length. 

29`

 

Then enter the height and divide so you can get the angle, 

28`/

. You get 1.04. That cannot be right, sines and 

cosines should be smaller than 1. Use 

…¯

 to get the numbers back, then 

 to swap them, as described in the tip above. 

Now press 

/

 to divide them again, in the right order, and see 0.97.  

 

hp calculators 

- 7 - 

HP 48GII

  Algebraic and RPN Operating Modes 

Содержание 48GI

Страница 1: ... RPN Operating Modes Calculation Modes A simple example the area of a piece of carpet Setting the mode Algebraic and RPN modes and the stack The command line Example a more complicated expression Example which stepladder The Operating Mode ...

Страница 2: ...ong both 5 yards wide So you need to calculate 6 8 5 In algebraic mode you work out the total length first that s 6 yards 8 yards Then you multiply by the width 5 yards So you would type these keys Ü This gives the brackets to put around 6 8 6 8 This gives the 6 8 This moves past the right bracket 5 This multiplies by 5 This tells the calculator that the formula is finished so it can now get the a...

Страница 3: ...numbers such as 2 3 will be automatically converted to approximate results such as 0 666666666667 Press H then C below the CAS menu label to select the CAS Modes form Press the down arrow key twice to reach the Approx selection If this already has a check mark by it then you do not need to set it so press the E key below the CANCEL menu label If Approx is not checked then press C below the CHK men...

Страница 4: ...what you need then pressing the menu keys These let you edit an expression or view it in textbook mode or echo a copy to the bottom of the stack so you can use it again see Figure 4 Figure 4 If you want to use an earlier answer in another calculation you can also use to access the îfunction which is above the key By default the HP48GII gives you ANS 1 the answer to the calculation you did one step...

Страница 5: ...d not use brackets and indeed RPN is designed to work without brackets This makes it somewhat quicker to type than Algebraic mode the carpet example took 6 keystrokes in RPN and 9 in Algebraic mode Polish Notation a mathematical notation without brackets was introduced by the Polish mathematician Jan Lukasiewicz in the 1920s In RPN the operations such as or or S are done after the number is entere...

Страница 6: ... press to put a number on the stack if you are going to use it at once In the case above you can press to put 17 32 on the stack and then press to multiply 70 by 17 32 but you can skip the and just press to get the answer You do need to press if you are typing two numbers one after another as in the carpet example Example a more complicated expression Here is a more complicated expression to compa...

Страница 7: ...in the Algebraic example above RPN would take 3 less keystrokes If you are willing to work out how to do the calculation RPN saves you any confusion about brackets and works with fewer keystrokes If you are new to HP calculators try using both modes and see if you prefer one or the other or if you want to switch between them as you use the HP48GII Example which stepladder Many people would prefer ...

Страница 8: ...t Algebraic mode is less well suited to such step by step calculations especially because î must be used repeatedly to bring back the result of the previous calculation Once all the examples have been completed it may be worth returning the calculator to its normal modes It can also be helpful to clear the stack by pressing The Operating Mode The examples and explanations in this training aid have...

Отзывы: