Operations with the same precedence are performed from left to right, with operations enclosed in parentheses performed first. If parentheses are nested, the operations enclosed in the innermost set of parentheses are performed first.
Arithmetic operators
To perform basic mathematical operations such as addition, subtraction, or multiplication, use the following arithmetic operators:
Operator | Sign | Meaning | Example |
---|---|---|---|
+ | plus sign | Addition | 8+3 |
- | minus sign | Subtraction / Minus sign | 5-2 |
* | asterisk | Multiplication | 3*3 |
/ | forward slash | Division | 3/3 |
^ | caret | Power (x^y) | 3.5^2 |
_ | underscore | Root (y_x) | 3_454.32 |
Negative numbers are obtained by putting the character - before the number, (2*-3 = -6.)
Enter the number as the positive or negative number, and then click the ^ button or just type ^ and type power as the positive or negative number. Also, you can type a double multiplication ** which will be replace by rising to power ^, (2**3 = 2^3 = 8).
The root is obtained by raising the number to the reciprocal value of the root (1/x), or you can enter the root as the positive or negative number, and then click the _ button or just type _ and type number as the positive number. For example, third root of 8 is 8^(1/3)=2 or 3_8=2.
The (...) button will put the selected text or, if nothing is selected, the whole expression into parentheses in the entry field.
All of the calculations can be saved and recalled again, or a new task can be read from disk. The program reads and calculates line by line, ignoring all that appears after the equal sign =.
Examples
2+5-3.25 = 3.75 8+7+(42-16)*3 = 93 8+7+[(42-16)-7]*3 = 72 5*-7 = -35 +6 = -35+6 = -29 +-3 = -29+-3 = -32 7e-6/3e-9 = 2333.333333333334 8**3 = 8^3 = 512 2^-3 = 0.125 3_8 = 2
Citing this page:
Generalic, Eni. "C4C Help: Basic calculations." EniG. Periodic Table of the Elements. KTF-Split, 27 Oct. 2022. Web. {Date of access}. <https://www.periodni.com/enig/c4c_help/basic_calculations.html>.
Articles and tables