Based on the information provided in the diagram below , develop a Java program that evaluates a polynomial function such that it prompts the user for the maximum degree of the function to create an array of size one more than that degree, the values for each coefficient in the function to set them, and the value of x to evaluate the value of the function. The program must then call required methods, calculate and display the degree of the polynomial function. you must do following steps only
step 1
Prompt the user for the maximum degree of the polynomial function.
step 2
Create an object for the class with the maximum degree entered by the user.
step 3
Extracted text: Evaluation of Polynomial Function A polynomial of degree n is a function of the form f(x) = anx" + an-1x"-1 +...+ azx2 + a1x + ao where the as are real numbers (sometimes called the coefficients of the polynomial). Although this general formula might look quite complicated, particular examples are much simpler. For example, f(x) = 4x3 – 3x² + 2 %3D is a polynomial of degree 3, as 3 is the highest power of x in the formula. This is called a cubic polynomial, or just cubic.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here