HP 49g+ User Manual page 663

Graphing calculator
Hide thumbs Also See for 49g+:
Table of Contents

Advertisement

As you can see, y is used first, then we use b, g, and Q, in that order.
Therefore, for the purpose of this calculation we need to enter the variables in
the inverse order, i.e., (do not type the following):
For the specific values under consideration we use:
The program itself will contain only those keystrokes (or commands) that result
from removing the input values from the interactive calculation shown earlier,
i.e., removing Q, g, b, and y from (do not type the following):
y ` b *㼠g *2* Q 㼪/
and keeping only the operations shown below (do not type the following):
` *„ *2* „º™/
Note: When entering the program do not use the keystroke ™, instead use
the keystroke sequence: „°@) S TACK @SWAP@.
Unlike the interactive use of the calculator performed earlier, we need to do
some swapping of stack levels 1 and 2 within the program. To write the
program, we use, therefore:
‚å
*
„º
*
2*
„°@) S TACK @SWAP@
„º
„°@) S TACK @SWAP@
/
`
The resulting program looks like this:
«
Q ` g `b `y `
23 ` 32.2 ` 3 `2 `
Opens program symbols
Multiply y with b
Square (b⋅y)
2
Multiply (b⋅y)
Enter a 2 and multiply it with g⋅ (b⋅y)
Swap Q with 2⋅g⋅ (b⋅y)
Square Q
Swap 2⋅g⋅ (b⋅y)
2
Divide Q
by 2⋅g⋅ (b⋅y)
Enter the program
* SQ * 2 * SWAP SQ SWAP /
times g
2
2
2
2
with Q
2
»
Page 21-18

Advertisement

Table of Contents
loading

Table of Contents