Question: Use C program Write a program to solve a quadratic equation completely. Generally, such an equation, ax2+bx+c=0 always has two solutions, which can be found
Write a program to solve a quadratic equation completely. Generally, such an equation, ax2+bx+c=0 always has two solutions, which can be found according to the following three cases. Define the discriminant Delta = b2-4ac Two different real valued solutions if Delta>0. x=-b plusminus b2-4ac2a Two indetical solutions if Delta=0. x=-b2a Two complex solutions if Delta
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
