Question: Please use math lab to solve, clearly state in writting the values of a , b , c , and d in the answer section

Please use math lab to solve, clearly state in writting the values of a,b,c, and d in the answer section
Open up your 'my_script.m' file that you created while working through Tutorial 2. Then copy and paste the 9
commands from the curve fitting example in Section 2.2 into your script file (you can delete any other commands
that are in the file). Then save and execute your script file and make sure that the output produced (including the
graph) agrees with the ouptut in the tutorial file. You should not proceed with the below question until this has
been done correctly.
By modifying the appropriate lines in your script file, find the values of a,b,c, and d so that the cubic polynomial
y=ax3+bx2+cx+d passes through the (x,y) pairs (-1,3),(0,7),(1,-2), and (2,5).
Note that to check your answer you can plot the given points together with your cubic polynomial on the same
graph, and check to see that all 4 points lie on the curve (as in the tutorial file). Note that you will likely have to
modify the t vector so that it corresponds with the range of x-values above.
 Please use math lab to solve, clearly state in writting the

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!