sech

calculate the hyperbolic secant of given angle


Parameters

sech angle :integer :floating :complex :rational :quantity

Returns

  • :floating
  • :complex

Examples

copy
print sech 0 ; 1.0 print sech 0.3 ; 0.9566279119002483 print sech 1.0 ; 0.6480542736638855

copy
sech to :complex [1 1] ; => 0.4983370305551868-0.5910838417210451i

Related