ctanh

calculate the hyperbolic cotangent of given angle


Parameters

ctanh angle :integer :floating :complex :quantity

Returns

  • :floating
  • :complex

Examples

copy
print ctanh 0 ; inf print ctanh 0.3 ; 3.432738430321741 print ctanh 1.0 ; 1.313035285499331

copy
ctanh to :complex [1 1] ; => 0.8680141428959249-0.2176215618544027i

Related