Question: Consider the function f ( x ) = e - x 2 ( a ) The forward finite - difference formula for f ' (

Consider the function f(x)=e-x2
(a) The forward finite-difference formula for f'(x) is as follows:
f'(x)=f(x+h)-f(x)h+O(h)
Use the previous formula to estimate f'(1) for a step size of h=0.20. Calculate the % relative
error, lon, as lon=| exact value }-{approximate value}|100%.
(b) The centered finite-difference formula for f'(x) is as follows:
f'(x)=f(x+h)-f(x-h)2h+O(h2)
Use the previous formula to estimate f'(1) for a step size of h=0.20. Calculate the % relative
error, lon, as lon=| exact value
Consider the function f ( x ) = e - x 2 ( a ) The

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 Mechanical Engineering Questions!