
public class PlotD extends Plotter {
  public double func(double x) {
    return Math.pow(x, 3) - 3 * Math.pow(x,2) + 5 * x + 8;
  }
}
