DispThe first root is. Solve a quadratic equation. A 1 -p 2n1p 1.
A 1 -p 2n1p 1.
You can tell whether a number has a complex part or not by testing to see if the imaginary part is 0. Write a function called QuadRootthat takes user input for a quadratic function ax2bxc a b and c and calculates the roots of the function. X 1 -b d 2a. A diag ones n-11-1.