Question: USE MATLAB TO DO THIS ! Given a quadratic equation of the following form, where a , b and c are constant coefficients: f (
USE MATLAB TO DO THIS
Given a quadratic equation of the following form, where and are constant
coefficients:
Write a local function that will output the following items on the same graph: the quadratic
equation the line of tangent to with a slope provided by the user, and the intersection point
between the line of tangent and the quadratic equation The function will accept two input arguments:
a vector that consists of the coefficients of a quadratic equation, and the slope of a line m An error
message will be displayed if the input vector has too many or not enough elements. The function will
work for any quadratic equations. The output graph will be structured such that the coordinate of the
intersection point will always be displayed at the middle of the axis. Note: the "solve" command
and symbolic toolbox cannot be used. Loops can be used if necessary.
Start with the function definition shown below.
See the following example:
Inputting the following in the Command Window will display the graph in Fig.
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
