Estimate the slope f'(3.5) for f(x) = sin(3x) using: a. Forward difference approximation with h = 0.2 b. Backward difference approximation with h = 0.2 Centered difference approximation with h = 0.2....


How would you code this in MATLAB?


Estimate the slope f'(3.5) for f(x) = sin(3x) using:<br>a. Forward difference approximation with h = 0.2<br>b. Backward difference approximation with h = 0.2<br>Centered difference approximation with h = 0.2.<br>c.<br>NOTE THAT “x

Extracted text: Estimate the slope f'(3.5) for f(x) = sin(3x) using: a. Forward difference approximation with h = 0.2 b. Backward difference approximation with h = 0.2 Centered difference approximation with h = 0.2. c. NOTE THAT “x" is in units of radians. For each estimated slope, provide the true percent relative error, Et. State which approximation is the most accurate. Upload a pdf of your handwritten work and/or any MATLAB code or command window calculations.

Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here