CALC 1 Home Documentation Home Contact

Calculations Using Algebraic Expressions

In algebraic mode you enter an expression in the top part of the display and when you tap '=', the result is displayed in the bottom part of the display.

CALC 1 algebraic mode uses a similar order of operation that popular spreadsheets and computer languages use.

Examples of Math Operations

To Press Display
Add 6+4 6+4= 10.00
Subtract 6-4 6-4= 2.00
Multiply 6×4 6×4= 24.00
Divide 6÷4 6÷4= 1.5
Power 31.25 3 ^ 1.25 = 3.95
Square Root √15.5 √15.5= 3.94
Add to the last result 3.94+2 +2= (rgx+2) 5.94
Start with a negative sign -10+4 10+/- +4 =(-10+4) -6.00
Use EE for large numbers 100000÷2 1EE5÷2= 50,000.00

 

K Mode Example For ALG mode

The K mode for ALG mode can be more powerful that the K mode in CHN mode used in most business calculators. It will save any expression using the current rgx value and execute it for different values of rgx that you enter.

To Press Display
Enter an expression (with any value in rgx) π×rgx^2  
Evaluate the expression and lock it so subsequent numeric entries will enter new values of rgx. Note that the "K" flag will appear at the top right of the display. K depends on what was in rgx.
Evaluate for rgx=6 6 = 113
Evaluate for rgx=7 7= 154

With CALC 1 there is no need to tap "=" after pressing the "K" key.
A "K" flag is displayed in the upper right part of the display when the "K Mode" is active.  
The K mode is active until "C" is pressed.
Note that the K mode works differently in the Chain mode than in the Algebraic mode.

Tap the "←" key to delete the last number entered. "C" clears the pending expression.

Starting with an operator (+, -, ×, ÷, ^) will insert rgx before the operator. rgx is the value of register x in the stack. This is the "ans" or "last" value used in some calculators.

To start a expression with a negative sign, tap the +/- key at any time while entering the first number.

Some keys will calculate the expression to put the result in the x register, then evaluate the expression of that key.

The top row keys for the Function Calculators and TVM Focused Calculators will also use Auto STO to automatically evaluate expressions and store them without having to press =, then STO.

Note that if you do not balance the parentheses that one (and only one) right parenthesis, ), will be appended to the end of the expression. This is to allow entry of √(15.5 without needing to always use ")". This is a common practice in calculators.

JavaScript

JavaScript is used to evaluate these expressions. CALC 1 will replace "^" with "**" as well as other math symbols.

Exponentiation operator is right associative. a ^ b ^ c is equal to a ^ (b ^ c).

In JavaScript, it is impossible to write an ambiguous exponentiation expression, i.e. you cannot put a unary operator (+/-) immediately before the base number.

To invert the sign of the result of an exponentiation expression: -(2 ^ 2) // -4

To force the base of an exponentiation expression to be a negative number: (-2) ^ 2 // 4

Otherwise you will see a error:

SyntaxError: Unexpected token '**'. Ambiguous unary expression in the left hand side of the exponentiation expression; parenthesis must be used to disambiguate the expression.

See MDN Arithmetic operators for more information.

Octal Integers

Starting a number with a zero can cause it to be evaluated as a octal literal.

For example, entering 0123 = will result in 83. The decimal value of octal 123.
Entering 0128 = will result in 128. This value is not an octal value since octal integers can include only the digits 0-7.

This is a feature of JavaScript.

See MDN Numeric Literals for more information.