9 lines
87 B
Ruby
9 lines
87 B
Ruby
module Math
|
|
|
|
# Cotangens of +x+
|
|
def self.cot(x)
|
|
tan((PI * 0.5) - x)
|
|
end
|
|
|
|
end
|