I need help with my hw
by using c++
Just read the attached files, and let me know when you can do it …
homework 5/Assignment 5
Assignment 5
Write a program that will allow the user to enter the coefficients of a sixth degree polynomial, then
prompt the user to evaluate the function at a point, determine the rate of change of the function at a
point, determine the area under the curve between two boundaries, enter a new set of coefficients, or
exit.
The program, at a minimum, should have three functions defined. The function prototypes for these
three functions will be as follows:
double f(double coef[],int array_size,double x);
double derivative(double coef[],int array_size,double x);
double integral(double coef[],int array_size,double Left_Bound,double Right_Bound);
To test your program, the following polynomial:
( )
Should result in the following outputs:
( )
( )
∫ ( )
The program should have comparable functionality to the example “assignment_5.exe” file attached.
homework 5/Assignment_5.exe