The Bisection method is a simple example of numerical algorithms for solving equations. The algorithm uses the classic divide and conquer strategy. Begin with an interval that contains the unknown solution. Divide it in half, discard the half that does not contain the solution, and repeat.
Write a program that implements the Bisection Algorithm to solve the equation
which has the same solution as the equation