Question: C++ Final Project You are to create a math calculator program that performs the following activities 1. Find the roots of a quadratic equation Your
C++

Final Project You are to create a math calculator program that performs the following activities 1. Find the roots of a quadratic equation Your program must check and display which roots will be obtained (i.e. real roots, real repeated roots or imaginary roots) by using the determinant. Given a quadratic equation ax 2 + bx + c = 0 the determinant, D, is given by b2-4ac The roots of a quadratic equation are given by x = -b+ b-4ac 2a -b-b-4ac when D > 0, the real roots are 1- and 2- when D=0 the roots are X1-x2-- When D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
