In Python, using import sys Create a program, quadratic.py, that takes in three arguments that represent the a, b, and c values in the quadratic formula. The values should be to two decimal places.  You do not need to account for imaginary values.  Then print out both roots in the form:               The solutions are x and y               Where x and y correspond to the positive and negative roots, respectively.

icon
Related questions
Question

In Python, using import sys

Create a program, quadratic.py, that takes in three arguments that represent the a, b, and c values in the quadratic formula. The values should be to two decimal places.  You do not need to account for imaginary values.  Then print out both roots in the form:

 

            The solutions are x and y

 

            Where x and y correspond to the positive and negative roots, respectively.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer