Question: Write a MATLAB script file to find the roots of the quadratic equation.If the discriminant is less than zero,equal zero or greater than zero, display
Write a MATLAB script file to find the roots of the quadratic equation.If the discriminant is less than zero,equal zero or greater than zero, display as the equation has no real roots,the equation has one root and the equation has two roots respectively. Using the above function display the roots for the following equations. (a) 3x 2 + 6x + 3 = 0 (b) 3x 2 + 4x 6 = 0 (c) 3x 2 + 7x + 5 = 0
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
