Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A Quadratic is a second order polynomial equation specified as: f(x) y ax2 + bx + c The roots of a quadratic equation are given
A Quadratic is a second order polynomial equation specified as: f(x) y ax2 + bx + c The roots of a quadratic equation are given by the quadratic formula: x1.X22a Your Quadratic class must be able to model any general second order polynomial equation. The user should be able to invoke a default constructor or one where each coefficient can be specified Users of the class should be able to view or alter any of the coefficients and should be able to print a Quadratic. In addition the class must be able to: *tell you if there are real roots or complex roots, *determine whether the discriminant is negative, and be able to compute the value of the first derivative of the quadratic at any specific point. *It should also be able to compute any real roots to the equation
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started