What is the opposite of the Math.tan(double x)
function of java?
I know that Tan(X) = oppositeSideLength/AdjacentSideLength
but I have the opposite and adjacent sides so I want to do the opposite operation.
ie: x = Tan^-1(oppositeSideLenght/AdjacentSideLength)
(that is how I would enter it in a calculator.
I just looked in the Math class and I know that there is:
Math.atan(
Math.atan2
but I don't think that either of these is what I am looking for.