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

Here we have a square root expression.

If x = 0, then √0 = 0èValid number!

If x = -5, then √x = √-5 èIf there is negative inside square root, then it’s an imaginary number.

Hence the domain of the function is from ‘0’ to positive infinity.

We know that inside any square root, there can never be a negative number.

Hence the ‘x’ value of this function can only be ‘0’ or any positive number.

Hence > f(x) ≠ any negative number

Range of this function is also all real number except the negative numbers.