Question: Program name: Roots.java. The two roots of a quadratic equation ax2 + bx + c0 can be obtained using the following formula: rl-b+ sgaure root
Program name: Roots.java. The two roots of a quadratic equation ax2 + bx + c0 can be obtained using the following formula: rl-b+ sgaure root of b 2-4ac/2a and r2-b-sqaur root of b 2-4ac / 2a The Sgaure root of b 2 -4ac is called the discriminant of the quadratic equation, and its value determines the number of roots as follows b 2-4ac>0, two real roots: rl and r2 b 2-4ac- 0, one real root:r b 2-4ac
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
