ctan

calculate the cotangent of given angle


Parameters

ctan angle :integer :floating :complex :rational :quantity

Returns

  • :floating
  • :complex

Examples

copy
print ctan 0 ; inf print ctan 0.3 ; 3.232728143765828 print ctan 1.0 ; 0.6420926159343308

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

Related