Question: This is a homework for MATLAB. Please answer using MATLAB functions and parameters. The answers are to be submitted as a .m script. Don't just
This is a homework for MATLAB. Please answer using MATLAB functions and parameters. The answers are to be submitted as a .m script. Don't just list final answers. Search this paragraph to find other similar questions to answer please.


8 Answers are to be reported as pX= where X is the problem number. * For example the answer to problem i should be reported as pl- $ if it is a single part question, and pla= if it is a multipart $ question. This is how to report your answer for a single part question pl = sind (180); * This is how to report your answer for a multi-part question p2a = exp(-2*pi); p2b = fix (2*pi); p2c = mean (1:5); p2d = 'my answer is ...'; Problem 1: Use forward difference formula to estimate the derivative of the function f(x) = cos(x)esin (x) by performing the following tasks. (a) Create a vector x that has values from 7/2 to 7 /2 with a step of 7/100. Set pla=x. (b) Compute f and set plb=f. (c) Use function diff to estimate the derivative f'. Put the answer in plc. (d) What is maximum value of f? Put the answer in pld
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
