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) = x

If x= 0 > f(0) = 0

Now let ‘x’ be any negative number > x= -2 > then f(-2)= 0

‘x’ is valid for any negative number.

Similarly let ‘x’ be any positive number > x =1 > then f(1)= -3

’x’ is valid for any positive number as well.

Given function, f(x) = 1/ (x

Here we have an expression in the denominator.

We know that if there is ‘0’ in the denominator > 1/0 = undefined

If x – 2=0 or x – 3=0, then the function value f(x) = undefined!

Hence x–2≠ 0 > x≠ 2 and similarly x≠ 3