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 function > f(x) = 3x + 2 and x = 5

Now given the value of ‘x’ = 5 and if we plug in the ‘x’ value in the given ‘f(x)’, we get

f(5) = 3(5) +2

f(5) = 15 + 2

f(5) = 17

Given function > f(x) = 4x - 1 and x = -2

Now given the value of ‘x’ = -2 and if we plug in the ‘x’ value in the given ‘f(x)’, we get

f(-2) = 4(-2) - 1

f(-2) = -8 - 1

f(-2) = -9