Function: minus(product(gradient[2](tan(numbers("xxr") if numbers("per") > numbers("xxx") else min(numbers("xxr"), numbers("per")))), tan(min(numbers("xxr"), numbers("per")) if numbers("xxr") > numbers("xxx") else numbers("per"))), gradient[2](tan(numbers("xxr") if min(numbers("xxr"), numbers("per")) > numbers("xxx") else numbers("per"))))