Assignment Five

A polynomial (for the purpose of this assignment) is a sequence of terms where a term is an integer coefficient and a non-negative exponent. For example

  1. 3x2 + 4x4 + x6

  2. 2 + 5x2 + 6x3 + 2x7

  3. 4x10

3*x^2 + 48*x^4 + 1*x^6 or

3*x^2 + 48*x^4 + x^6

Use the main class Polynomials to test your class. This assignment is due on March 29th at class time. Send me an e-mail with the Polynomial.java file attached and hand in a listing of Polynomial.java.