Question: 6) Write a Python program to read three numbers a, b and c that represent the coefficients of the quadratic equation ax+bx+c=0, and then calculate

 6) Write a Python program to read three numbers a, b

6) Write a Python program to read three numbers a, b and c that represent the coefficients of the quadratic equation ax+bx+c=0, and then calculate and print its roots (i.e. the points where the curve cuts the x-axis) X, and x2 which are found using the formula: = -b Vb2 - 4ac X1,2 2a Use your program to calculate the roots of the equations represented by the following two curves. Make sure that your results match the values obtained graphically. y = 2x - x - 3 5x + 2 roots 4 3 -10 Now, can you use your program to solve x+x+1=0?. (Yes/No) If the answer is 'No'; is it because of an error in your program? Or is it because the equation

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!