Function: minus(numbers("per") if invert(numbers("per")) > tan(invert(numbers("per"))) else numbers('rrr'), tan(invert(numbers("per")))) if numbers("per") if invert(numbers("per")) > numbers('rrr') else tan(invert(numbers("per"))) > tan(invert(numbers("per"))) else invert(numbers("per"))