Compute Hyperbolic Cosine

Examples in JavaScript