Inequalities for the generalized trigonometric and hyperbolic functions