Question: /programming language Write a program that will read in the three coefficients of a quadratic equation, a, b, and c, given the standard form of
/programming language

Write a program that will read in the three coefficients of a quadratic equation, a, b, and c, given the standard form of the quadratic equation: 1. ax2 + bx+c=0 Determine how many solutions can be expected from the quadratic equation using the determinate: 1) If the determinate is larger than zero, then there are two distinct solutions using the equation: solutions 2 a Calculate the two solutions and print them both to the screen (include 3 decimal places). 2) If the determinate is equal to zero, then there is one solution using the equation solutio Calculate the solution and print it to the screen (include 3 decimal places> 3) if the determinate is less than zero, print a statement that the equation has only imaginary olutions. Do not calculate these. Test your program with the following values: a) a- 4.5 b) a - 3.2 c)a 1.5 b- 3.2 b m 6.4 c= " 2.3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
