Question: Using matlab Plot y = e x in the interval [-3, 3] using a solid line. Now, plot a linear approximation of e x (i.e.,
Using matlab
Plot y = ex in the interval [-3, 3] using a solid line. Now, plot a linear approximation of ex (i.e., y = 1+x) using a dashed line, and a quadratic approximation of ex (i.e., y = 1 + x + x2/2) using a dotted line. Title the plot Gross Approximations of exp(x). Label the y-axis as Approximations of exp(x) and the x-axis as x. Use text to label the exp(x) curve at position (2,8). Use gtext to label the linear and quadratic approximations of ex appropriately. Set axes limits to [-3,3,-5,15].
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
