在线文档教程
PHP
数学 | Mathematics

cosh

cosh

(PHP 4 >= 4.1.0, PHP 5, PHP 7)

cosh — Hyperbolic cosine

Description

float cosh ( float $arg )

Returns the hyperbolic cosine of arg, defined as (exp(arg) + exp(-arg))/2.

Parameters

arg

The argument to process

Return Values

The hyperbolic cosine of arg

See Also

  • cos() - Cosine

  • acosh() - Inverse hyperbolic cosine

  • sinh() - Hyperbolic sine

  • cosh()

← cos

decbin →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.cosh.php