Question: Q6) Write a C+ program to read three numbers a, b and c that represent the coefficients of the quadratic equation ax'+bxtc-0, and then calculate
Q6) Write a C+ program to read three numbers a, b and c that represent the coefficients of the quadratic equation ax'+bxtc-0, and then calculate and print its roots (i.e. the points where the curve cuts the x-axis) xi and x2 which are found using the formula: ac Use your program to calculate the roots of the equations represented by the following two curves. Make sure that your results match the values obtained graphically. y-x5x6 y - 2x2 - x-3 .2 roots 6 1 -10 If the answer is 'No'; is it because of an error in your program? Or is it because the equation doesn't
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
