Actions

Actions

Actions

Actions

# HP 9G Calculator - Order of Operations

The HP 9G calculator performs calculations in the following order of precedence:
1. Functions inside parentheses coordinate transformations, and type B functions (functions that require pressing the function key before entering the argument). Some examples of type B functions are: cos, sin, tan, cos-1, sinh, NEG, X'(), MAX, and Plot.
2. Type A functions. (Functions that require the argument to be entered before pressing the function key). Some examples are: x2, x3, x-1, x!, and ENGSYM.
3. Exponentiation (^), .
4. Fractions.
5. Abbreviated multiplication format involving variables, , RAND.
6. (-).
7. Abbreviated multiplication format in front of Type B functions, , Alog2, etc.
8. nPr, nCr.
9. ×, ÷.
10. +, -.
11. Relational operators: ==, <, >, , ,.
12. AND, NAND (BaseN calculations only).
13. OR, XOR, XNOR (BaseN calculations only).
14. Conversion (A b/cd/e, FD, DMS).
• When functions with the same priority are used in series, execution is performed from right to left. For example: ex ln120 would be evaluated as ex{ln (120)}. Otherwise, execution is from left to right.
• Compound functions are executed from right to left.

Actions

## hp-online-communities-portlet

Actions

### Support Forum

Join the conversation! Find Solutions, ask questions, and share advice with other HP product owners. Visit now

Actions