def find_adjacent_given_opposite(theta, opposite, mode, rounding_place=2): return (1 / trig_functions.tan_float(theta, mode, rounding_place)) * opposite
def find_opposite_given_adjacent(theta, adjacent, mode, rounding_place=2): return trig_functions.tan_float(theta, mode, rounding_place) * adjacent