Question: Write C++ program which approximates one root of a polynomial in a closed interval of the real number line. Use the bisection method to approximate
Write C++ program which approximates one root of a polynomial in a closed interval of the real number line. Use the bisection method to approximate the root. The program must take as input (1) the number of iterations for the bisection method, (2) the endpoints of the interval containing the root, and (3) the coefficients of the polynomial in ascending degree. Also implement at least one function in your program to estimate the root in part or as a whole. The function(s) must not be trivialthey should perform a substantial part of the calculation and make the program more readable as a result. Here is a sample run.

please use simple code as possible.
How many iterations? 30 Enter the endpoints of the interval containing the root: 1 1.5 Enter the polynomial coefficients, ascending in degree: -3 1.5 0 1 Root estimate: 1.1036949 2 0 2 4 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
