Question: Programming in python Write a function that calculates the roots of a quadratic equation, given the coefficients a, b, and c. You do not have
Programming in python Write a function that calculates the roots of a quadratic equation, given the coefficients a, b, and c. You do not have to worry about handling complex numbers or negative roots at this time (though this will be on a future homework assignment). ONLY MODIFY WHAT IS INSIDE THE FUNCTION "QuadraticFormula" def SquareRoot(x): return x**0.5 def QuadraticFormula(a, b, c): print() QuadraticFormula(1, 2, -1) QuadraticFormula(1, 6, -8) QuadraticFormula(5, 15, -20) QuadraticFormula(9, 22, -9) QuadraticFormula(1, 2, -1)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
