Question: Please write a script that will evaluate the approximate derivative of the function f(x) sin x, in x from 0 to 2 using 100 points,

Please write a script that will evaluate the approximate derivative of the function f(x) sin x, in x from 0 to 2 using 100 points, with the following approximations: cos x+ the Forward Difference approximation, df/dxfD, the Backward Difference approximation, df/dxBo, and the Central Difference approximation, df/dxcD Please write a script that will evaluate the approximate derivative of the function f(x) sin x, in x from 0 to 2 using 100 points, with the following approximations: cos x+ the Forward Difference approximation, df/dxfD, the Backward Difference approximation, df/dxBo, and the Central Difference approximation, df/dxcD
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
