A) Write a program to solve a general quadratic equation of the form ax2+bx+c=0 using the quadratic formula that will be
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A) Write a program to solve a general quadratic equation of the form ax2+bx+c=0 using the quadratic formula that will be
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?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!