Question: Write a program to estimate the real roots of a cubic polynomial function using incremental search. A cubic polynomial has the form f ( x

Write a program to estimate the real roots of a cubic polynomial function using incremental
search.
A cubic polynomial has the form f(x)=a0x3+a1x2+a2x+a3.
The following are the refinements of the program in pseudo code.read coefficients, a0, a1, a2, and a3compute the number of subintervals, nwhile k =(n -1) compute right subinterval endpoint k++check_roots(left, right, a0, a1, a2, a3):f_right = poly(right, a0, a1, a2, a3) print root at left endpoint do nothing print root at midpoint of subintervalpoly(x, a0, a1, a2, a3):
 Write a program to estimate the real roots of a cubic

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!