PolyGrapher - Graphing Polynomials

Develop a Java program that uses the Algoritharium to graph polynomials.

Requirements for the graph

The graph:

Program Design

Your program consists of two classes:

The PolyGrapher class

This class must contain methods with the following signatures:

The Polynomial class

This class models a polynomial and must contain methods with the following signatures:

Sample output:

2.0x^3 + 1.5x^2
a = -10.0, b = 10.0, n = 760, dx = 0.02631578947368421, min = -1850.0, max = 2150.0, sf = 0.14975.

6.0x^2 + 3.0x
derivative's a = -10.0, b = 10.0, n = 760, dx = 0.02631578947368421, derivMin = -0.3739612188365653, sf = 0.14975.

Extra Credit:

2.0x^5 + 1.5x^4 - 50.0x
a = -2.0, b = 2.0, n = 760, dx = 0.005263157894736842, min = -53.56482705060258, max = 69.18823017586938, sf = 4.724933236733445.

10.0x^4 + 6.0x^3 - 50.0
derivative's a = -2.0, b = 2.0, n = 760, dx = 0.005263157894736842, derivMin = -50.13665967111977, sf = 4.724933236733445.