atanintermediate// Inverse tangent β result in radians
Math.atan(1) // β 0.7853... (Ο/4)
Math.atan(0) // β 0Use Math.atan() to find the angle (in radians) whose tangent equals a given value.
As x approaches Β±β, Math.atan(x) approaches Β±Ο/2.
Challenge: Verify that Math.atan(Infinity) returns Ο/2.