Question: ( using Matlab ) Write a function x = realRoots ( a , b , c ) which outputs real roots of the quadratic equation
using Matlab Write a function x realRootsabc which outputs real roots of the quadratic equation
a xbx c If there are no real roots, then the output is x Demonstrate the
performance of your function on three examples of your choice which generate two,
one, and no real roots.
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
