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
The following are the refinements of the program in pseudo code.read coefficients, a a a and acompute the number of subintervals, nwhile k n compute right subinterval endpoint kcheckrootsleft right, a a a a:fright polyright a a a a print root at left endpoint do nothing print root at midpoint of subintervalpolyx a a a a:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
