A) Write a program to solve a general quadratic equation of the form ax2+bx+c=0 using the quadratic formula that will be
Posted: Thu Jul 14, 2022 2:28 pm
A) Write a program to solve a general quadratic equation of the form ax2+bx+c=0 using the quadratic formula that will be able to solve the equation for all possible values of a,b,c. Note: complex roots should be expressed in a+bi form. Your program should test the following values for a,b, and c by evaluating the quadratic at your "roots" for the equation. Test your roots to 5 significant digits. What "problems" do you notice with some of the equations? What is causing the problems?