Question: Write a Python 3 program which employs two simple user defined functions called root1() and root2() to calculate the roots of a quadratic of the

Write a Python 3 program

Write a Python 3 program which employs two simple user defined functions

which employs two simple user defined functions called root1() and root2() to calculate the roots of a quadratic of the form Ax2+BX+C = 0 Pass A, B and C to each function root1() and root2() Return the appropriate root to the main() program Print out the results in a format that makes sense! Test your program on values of A, B and C that give real roots. Allow for the possibility that the roots are complex

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!