math.cosh

From ComputerCraft
Jump to: navigation, search

math.cosh
Function
Syntax
math.cosh()
Returns number
API math
Source Lua (source)

Return the hyperbolic cosine of num.

ExampleExamplePrint the hyperbolic cosine of 1
Print the hyperbolic cosine of 1.
Code
print(math.cosh(1))
Output 1.5430806348152