Write a C++ program to solve the given equation using bisection method

Write a C++ program to solve the given equation using the bisection method.

Output
The value of root is : -0.995667