The data in Exercise 4 were generated using the following functions. Use the cubic splines constructed in Exercise 4 for the given value of x to approximate /(x) and f'(x) and calculate the actual error. a. f(x) = e 2x; approximate/(0.43) and/'(0.43). b. /(x) = x 4 x 3 + x 2 x + 1; approximate /(0) and /'(0). c. f(x) = x 2 cos x 3x; approximate/((). 18) and/'(0.18). d. f(x) = ln(ex + 2); approximate/(0.25) and/'(0.25).

il di"i i ,- ('r '\ i-tt' -:]-\ f"r i ( I ) - I .%\vl jI r;Lx +;-1'\r ) t-l x ) \\ I 1 \,) u \.) ..)*s* d$,*X* L\= \n L*') r \ lt /-lJ L -3'Y x .\ - i,. \.,': l.\.. li ) K 5) .) ,-;*\ t \r .r-{\-\l- {_i \ r.f-\