Question: 4 . ( 2 0 Points ) The following table gives values of ( f ( x ) = 2 cos left
Points The following table gives values of fxcos leftfracpi xrightcos pi x for values of x Determine the derivative, fprimex exactly for those values of x Also determine the derivative using forward, backward and centered finite differences. Determine the relative error for each of the finite difference approximations by subtracting the analytical value from your finite difference estimate. Fill in the table. Feel free to use EXCEL to make these calculations but if you want partial credit make sure to show enough work to explain your process. I don't want your excel sheet. Plot the analytical solution on the plot given below to help you check your finite difference answers.
begintabularccccccccc
hline x & fx & mathrmdfmathrmdx & Forward & begintabularl
Forward
Error
endtabular & Backward & Backward Error & Center & begintabularl
Center
Error
endtabular
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline & & & & & & & &
hline
endtabular
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
