Construct a class that will model a quadratic expression


Construct a class that will model a quadratic expression (ax2+bx+c). In addition to aconstructor creating a quadratic expression, the following operations can be performed:

Query quadratic expression for each coefficient

Evaluate the quadratic expression at a specified value

Determine the number of real zeros (solutions to associated quadratic equation)

Determine the real zeros Also construct a test program which will test whether your implementation of this class is correct.

Data structures using c++

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Construct a class that will model a quadratic expression
Reference No:- TGS01574508

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)