Question: HW 7 _ 2 Let f ( x ) = x c o s ( x ) - x s i n ( x )

HW7_2 Let f(x)=xcos(x)-xsin(x).
a) determine the true value of f'(x) at x=2.9,3.0,3.1,3.2
b) evaluate the function f(x) at the same 4 points
c) Use the results from b) to estimate the derivative at all points using forward (O(h)), backward )
and centered ) formulas (where possible)
d) compute et, the true relative errors
e) compute the first derivatives at the first and the last points using 3-point, O(h2) forward and backward
formulas respectively. Also include et calculations.
f) calculate the second derivative using appropriate ) formulas at x=2.9,3.0,3.1,3.2
Present your results in a table.
Note: et=|True-ApproxTrue|100%
please do d,e,f
no coding! Thank you!
HW 7 _ 2 Let f ( x ) = x c o s ( x ) - x s i n (

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 Programming Questions!