Hello there. To solve this question, we want to determine how to find the square root of a value using estimations.
Given a number m, we want to determine an estimation for its square root:
In this case, we have to find the closest integers to m, considering it is not a perfect square and is positive (greater than zero).
Of course, zero is the trivial case, since every square root is bounded below by zero.
For this, consider the function:
It is the floor function and it gives us the nearest integer that is less than or equal to m.
We do the same to fi