Question: 4 . ( 2 0 Points ) The following table gives values of ( f ( x ) = 2 cos left

4.(20 Points) The following table gives values of \( f(x)=2\cos \left(\frac{\pi}{2} x\right)+\cos (\pi x)\) for 14 values of \( x \). Determine the derivative, \( f^{\prime}(x)\), 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.
\begin{tabular}{|c|c|c|c|c|c|c|c|c|}
\hline x & f(x) & \(\mathrm{df}/\mathrm{dx}\) & Forward & \begin{tabular}{l}
Forward \\
Error
\end{tabular} & Backward & Backward Error & Center & \begin{tabular}{l}
Center \\
Error
\end{tabular}\\
\hline 0 & 3 & & & & & & & \\
\hline 0.2 & 2.6 & & & & & & & \\
\hline 0.4 & 1.7 & & & & & & & \\
\hline 0.7 & 0.5 & & & & & & & \\
\hline 0.9 & -0.6 & & & & & & & \\
\hline 1.1 & \(-1.3\) & & & & & & & \\
\hline 1.3 & \(-1.5\) & & & & & & & \\
\hline 1.6 & -1.3 & & & & & & & \\
\hline 1.8 & \(-1.1\) & & & & & & & \\
\hline 2 & -1 & & & & & & & \\
\hline 2.2 & \(-1.1\) & & & & & & & \\
\hline 2.5 & -1.4 & & & & & & & \\
\hline 2.7 & \(-1.5\) & & & & & & & \\
\hline 2.9 & -1.2 & & & & & & & \\
\hline 3.1 & -0.5 & & & & & & & \\
\hline
\end{tabular}
4 . ( 2 0 Points ) The following table gives

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