(17 points): Calculate the derivatives of the following functions using the right-derivative formula and the centered fo
Posted: Sat May 14, 2022 7:44 pm
(17 points): Calculate the derivatives of the following functions using the right-derivative formula and the centered formula: a. fx)=sin(x) x=1/4* b. f(x)=e"/x ?, r=0.8 Plot the absolute error between numerical and analytical solution as a function of the interval size h and explain your results. Does the absolute error depend linearly on h or h? What is the difference between the two functions? (Remark: use log-log axis for the plots).