Question: python Write a function roots that computes the roots of a quadratic equation. Check for complex roots and print a message saying that the roots
python Write a function roots that computes the roots of a quadratic equation. Check for complex roots and print a message saying that the roots are complex.\ \ *Hint 1: Your function should take three parameters-what are they?\ \ *Hint 2: We know the roots are complex when what condition about the discriminant is met?\ \ Be sure to demonstrate a variety of test cases, that include complex roots, real roots, and double roots.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
