Question: In C++ Write a void function called derivative() that takes in coefficients of a polynomial in standard form and outputs the derivative to the console.

In C++ Write a void function called derivative() that takes in coefficients of a polynomial in standard form and outputs the derivative to the console. You need to overload your derivative function to take in polynomials of degree 0,1,2 or 3 and test each one in your main function. Test case: Derivative of f(x) = 6 is f'(x) = 0 Derivative of f(x) = 3x^2 +8x + 9 is f'(x) = 6x+8 Derivative of f(x) = 20x^3 + 2x + 7 = 60x^2 + 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
