Question: Write a program named QuadraticSolver.java that will allow students to enter a quadratic equation of the form ax2 + bx + c = 0 in
Write a program named QuadraticSolver.java that will allow students to enter a quadratic equation of the form ax2 + bx + c = 0 in a textfield, and then calculate and print the real solutions to the nearest hundredth. (Assume the equation has two real solutions. We DO NOT consider imaginary solutions for this assignment). Use the following to test your program: 2x2 - x - 1 = 0, solutions = -0.50, 1.00 3x2 + 7x + 2 = 0, solutions = -2.00 and -0.33 If there is no solution, simply display No solutions
(Java please, GUI application)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
