Question: Write a MATLAB function that computes the two roots of a quadratic polynomial q (x) = x^2 + bx + c with good precision. Compare

 Write a MATLAB function that computes the two roots of a

Write a MATLAB function that computes the two roots of a quadratic polynomial q (x) = x^2 + bx + c with good precision. Compare your computed results with MATLAB's built-in function roots ([a b c]) for the following set of data: b = -56, c = 1 b = -10^8, c = 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!