Implement a class QuadraticEquation whose constructor receives the coefficients a, b, c of the quadratic equation ax2 + bx + c = 0. Supply methods getSolution1 and getSolution2 that get the solutions, using the quadratic formula. Write a test class QuadraticEquationTester that constructs a QuadraticEquation object, and prints the two solutions, together with the values that you expect.

Complete the following files:

QuadraticEquation.java

QuadraticEquationTester.java

/** This program tests the QuadraticEquation class. */ public class QuadraticEquationTester { public static void main(String[] args) { QuadraticEquation myEquation = ...; ... System.out.println("First solution: " + ...); System.out.println("Expected: ..."); System.out.println("Second solution: " + ...); System.out.println("Expected: ..."); } }

QuadraticEquationTester2.java