9 lines
95 B
Ruby
9 lines
95 B
Ruby
module Math
|
|
|
|
# Arcus cotangens of +x+
|
|
def self.acot(x)
|
|
(PI * 0.5) - atan(x)
|
|
end
|
|
|
|
end
|