This is one of the main the principles behind using the trigonometric functions and inverse trigonometric functions for any angle.
The Adjacent side is the absolute value of the x coordinate and the Opposite side is the absolute value of y coordinate of the right triangle. The definitions of the trigonometric functions on a plane are:

In this illustration , so the trigonometric functions can be calculated directly from the coordinates of the triangle tip. Adjustments can then be made for the sign of the trigonometric functions based on which quadrant the reference triangle is in.
Also, shown are the values of trigonometric functions for both reference and standard angles. In the results list, negative values for functions of the standard angle, , are highlighted in red.
The graph on the right shows the values of the trigonometric functions as a function of the standard angle. A point is added for each degree if the function is checked.
How do the signs of the trigonometric functions vary in the different quadrants? How could the mnemonic "CAST" be used to remember which functions are positive starting in quadrant IV?
How would you find the inverse function of tangent in quadrant III ?