Expand the following function as a Taylor Series up to and including the fourth order derivative term.
Expand the following function as a Taylor Series up to and including the fourth order derivative term.
F(x) pi + e^x – e^(-x)
Estimate the number of terms required in the above Taylor series to achieve single precision and double precision accuracy when evaluated at: F(x=0.01)
You must consider all possible epsilon.
Machine epsilon is 1.1e-7 for single precision and 4.4e-16 for double precision.
joyce
0