Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

Given numerical expression: 6 (3 + 5)

So if a number is being multiplied from outside the parenthesis, we can distribute that number inside the parenthesis to every

term!

6 (3 + 5) = (6 * 3) + (6 * 5)

18 + 30 = 48

Given numerical expression: -2 (4 + 1)

So here ‘-2’ is multiplied from outside to the parenthesis è we can distribute ‘-2’ inside the parenthesis to every term!

-2 (4 +1) = (-2 * 4) + (-2 * 1)

-8 – 2 = -10