Function: cos(log(mod(numbers("xxx"), numbers('rrr')), numbers("xxx")) if mod(numbers("xxx"), numbers('rrr')) > mod(numbers("xxx"), numbers('rrr')) if numbers('rrr') > log(mod(numbers("xxx"), numbers('rrr')), numbers("xxx")) else numbers("xxx") else gradient[2](log(mod(numbers("xxx"), numbers('rrr')), numbers("xxx")) if numbers("xxx") > mod(numbers("xxx"), numbers('rrr')) else numbers('rrr')))