Arithmetic Operation
OPERATORS Symbol in Computer
Addition +
Subtraction -
Multiplication *
Division /
Power / Raise ^
Rules in Arithmetic Operation
1. Priorities:
First: Power / Raise
Second: Multiplication or Division
Third: Addition or Subtraction
2. When operations are in equal priorities, the computer perform
from left to right.
example: 3 - 5 + 4 - 3
= -2 + 4 - 3
= 2 - 3
= -1
3. When operation are in different priorities, the computer
performs those operations with higher priorities first.
example: 3 + 5 ^ 2
= 3 + 25
= 28
4. Operations inside the parentheses must performs first.
example: 2 ^ ( 2 + 5 - 4 / 2 )
= 2 ^ ( 2 + 5 - 2 )
= 2 ^ ( 7 - 2 )
= 2 ^ ( 5 )
= 32
5. No to operators must place side by side.
example: 3 - + 5 are erronous
Assignment:
Perform the indicated operation:
1. 3 + 5 * 4 - 7
2. 4 ^ 2 / 2 * 2 -2
3. 4 + ( 5 * 7 + (1 - 2 / 2 ) )
4. 2 + ^ 3
5. 2 ^ 2 * 2 / 2 + 2 - 2
If you want to purchase an exclusive copy. Click the buy button...
