Help Contents / Arithmetic / Trigonometric Functions / ArcTan

ArcTan x y

outputs the arctangent of y/x, in degrees, of its input, if x is nonzero, or 90 or -90 depending on the sign of y, if x is zero. 

Examples: 

	ArcTan 1 0		;0  ;-) 
	ArcTan 1 1		;45  ;-) 
	ArcTan 1 Sqrt 3		;60  ;-) 
	ArcTan 1 1e300		;90  ;-) 
	ArcTan -1 1		;135  ;-) 
	ArcTan -1 -1		;-135  ;-) 
	ArcTan 1 -1		;-45  ;-) 
	ArcTan rseq 1 1 5 (list 0 1 Sqrt 3 1e300 -1) 
	;[0 45 60 90 -45] ;-) 


previous: radArcCos	next: radArcTan
