To solve this equation with Matlab you will enter the following code. Create a script file and type the following code. So you will also find quadratic equations in the form.
Write a function called QuadRootthat takes user input for a quadratic function ax2bxc a b and c and calculates the roots of the function.
S solve eq. S solve eq. DispThe second root is. A Test your function on the following cases.