# Calculations Using RPN and the Stack

Reverse Polish Notation (RPN) can be used to perform operations (+, -, *, /, ...) on the x and y registers.

See The Automatic Stack on how to use the stack with RPN.

## Examples of Math Operations in RPN Calculation Mode

To |
Press (display) |
Display X |

Add 6+4 |
6 ENTER 4+ |
10.00 |

Subtract 6-4 |
6 ENTER 4- |
2.00 |

Multiply 6×4 |
6 ENTER 4× |
24.00 |

Divide 6÷4 |
6 ENTER 4÷ |
1.5 |

Power 3^{1.25} |
3 ENTER 1.25 y^x |
3.95 |

Find percent with percent add-on: 498+7% |
498 ENTER 7%
+ |
34.86
532.86 |

Find percent with percent discount: 69.99-10% |
69.99 ENTER 10%
- |
7.00
62.99 |

Find percent: 4% of $453 |
453 ENTER 4% |
18.12 |

Find percent ratio: 14 to 25 (% of total) |
25 ENTER 14 %T |
56.00 |

Use parentheses: 7 * (3 + 5) |
3 ENTER 5 + 7 * |
56.00 |

Square Root √15.5 |
15.5√ |
3.94 |

Add to the last result 3.94+2 |
2+ |
5.94 |

Start with a negative sign -10+4 |
10 +/- ENTER 4+ |
-6.00 |

Use EE for large numbers 100000÷2 |
1EE5 ENTER 2÷ |
50,000.00 |

Find reciprocal: 1/3.2 |
3.2 1/x |
0.31 |

Tap the "del" key to delete the last number entered. Shift - "clr x" clears a pending number being entered..

Tapping the =f key will temporarily enter the ALG to allow you to enter an algebraic formula.

Use the SWAP key to swap the x and y values.

Use the ROLL key to roll the values of the stack.

##