Function: gradient[1](sin(mean(minus(numbers("xxr"), numbers("xxx")), numbers("xxr")))) if minus(numbers("xxr"), numbers("xxx")) > sin(mean(minus(numbers("xxr"), numbers("xxx")), numbers("xxr"))) else mean(minus(numbers("xxr"), numbers("xxx")), numbers("xxr"))