Develop a well-structured program to compute the Maclaurin
series expansion for the cosine function cos (pi/3)
The function should have the following features:
? Iterate until the relative error falls below a stopping
criterion (es) or exceeds a maximum number of iterations
(maxit). Allow the user to specify values for these
parameters.
? Include default values of es (= 0.000001) and maxit (=100)
in the event that they are not specified by the user.
? Return the estimate of cos(x), the approximate relative
error, the number of iterations, and the true relative error
(that you can cal-culate based on the built-in cosine
function).