cosh

calculate the hyperbolic cosine of given angle


Parameters

cosh angle :integer :floating :complex :rational :quantity

Returns

  • :floating
  • :complex

Examples

copy
print cosh 0 ; 1.0 print cosh 0.3 ; 1.04533851412886 print cosh 1.0 ; 1.543080634815244

copy
cosh to :complex [2 1] ; => 2.032723007019666+3.0518977991518i

Related