Question: please help solve this question in python Write a script which determines if a quadratic equation will yield roots that are real, complex, or imaginary.

please help solve this question in python

Write a script which determines if a quadratic equation will yield roots that are real, complex, or imaginary. The script should ask a user for the three coefficients , , 2 + + Given that the discriminant d is given by = 2 4 The roots can be determined according to If > 0 the roots are real and print out a message roughly saying The roots to the quadratic equation with coefficients {a}, {b}, {c} are REAL. If d < 0 the roots are complex and print out a message saying something similar to The roots to the quadratic equation with coefficients {a}, {b}, {c} are COMPLEX If b = 0 the roots are imaginary and print out a message saying something similar to The roots to the quadratic equation with coefficients {a}, {b}, {c} are imaginary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!