application

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section: Chapter Questions
Problem 14PP
icon
Related questions
Question

Using the 3 methods above, create an application that calculates the roots of an equation of
second degree:
ax ² + bx + c = 0
For it exists, the coefficient a must be nonzero.
If delta is positive, then there are two distinct roots:
If delta is zero, then there is exactly one real root:
If delta is negative, there is no real solution.

Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr