The roots of the quadratic equation XXXXXXXXXX5ax bx c , a≠0 are given by the following formula:                                                 In this formula, the term b 2 -4ac is called the...


The roots of the quadratic equation 0 2 11 5ax bx c , a≠0 are given by the following formula:





In this formula, the term b2-4ac is called the discriminant. If b2-4ac=0, then the equation has a single (repeated) root. If b2-4ac > 0, the equation has two real roots. If b2-4ac <>2-4ac ≥ 0, the program should output the roots of the quadratic equation. (Hint: Use the function pow from the header file cmath to calculate the square root. Chapter 3 explains how the function pow is used.)




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here