tan(θ)=v, with θ in (−90°, 90°).(x, y) relative to +x axis, in (−180°, 180°], handling quadrants & x=0.(°), radians (rad), grads (g). Conversions: deg = rad·180/π, grad = rad·200/π.(deg % 360 + 360) % 360; −180–180° re-centers around 0.y and adjacent = x, then slope v=y/x. Use atan2 for correct quadrant.atan2(0,0) is undefined; if x=0, slope is infinite (vertical line).atan(1) = 45°, atan(√3) = 60°, atan(0) = 0°.atan2(3, 4) ≈ 36.87°; atan2(-3, -4) ≈ -143.13° (or 216.87° in 0–360).Choose which optional categories you allow. Necessary cookies are always on. Privacy Policy.