Question: Using Lists in Java A polynomial such as: f(x) = 5.3x 5 + 6.2x 3 + 4x 2 + 6x +4.3 can be modeled using

Using Lists in Java A polynomial such as: f(x) = 5.3x5 + 6.2x3 + 4x2 + 6x +4.3 can be modeled using an ordered list. Every element in the list corresponds to a term of the polynomial. The terms coefficient and degree is stored in each element. Assume that there is at most one element of any given degree in the list and that the order of the list is descending in by degree. Your application should allow the user to input the polynomial thus creating the list representation of the polynomial. It should also allow the user to evaluate the polynomial for a given value of x. Your application must also be able to sum two polynomials. Finally it must be able to display the polynomial on the screen in some readable format. (possibly use ** or ^ to represent exponentiation). All processing of the polynomials must use an ordered list.

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!