Square Root Function based on two different methods

Our task is to calculate the square root of an entered input using two different numerical methods and compare their performance.

-The First Method: Interval Search Method

-The Second Method: Newton-Raphson Method