Question: 4. Consider the function f(x) = x - 2*exp(x) find its Taylor polynomials of degree 2,3,4 at x0=1 (You may use Mathematica or symbolic Matlab).

4. Consider the function f(x) = x - 2*exp(x) find its Taylor polynomials of degree 2,3,4 at x0=1 (You may use Mathematica or symbolic Matlab). Write a Matlab program to create a table having 3 rows and 2 columns and output 6 plots as described here: The first row should contain: in the left column plot f(x) in red and its Taylor polynomial of degree 2 in green and in the right column plot the error f(x)-Taylor of degree 2 for 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
