From The Ruby Way, page 111:
def arctan(x)
Math.atan2(x, 1.0)
end
···
On Sat, 01 Mar 2003 22:30:16 +0100, Frank Thomas wrote:
Ruby does not offer many trigonometric functions. How can i calculate the
arcus tangens?
From The Ruby Way, page 111:
def arctan(x)
Math.atan2(x, 1.0)
end
On Sat, 01 Mar 2003 22:30:16 +0100, Frank Thomas wrote:
Ruby does not offer many trigonometric functions. How can i calculate the
arcus tangens?