Taylor expansion for the hyperbolic cosine function