Function: gradient[1](minus(gradient[1](numbers('rrr')), numbers('rrr'))) if gradient[1](tan(gradient[1](minus(gradient[1](numbers('rrr')), numbers('rrr'))))) > tan(gradient[1](minus(gradient[1](numbers('rrr')), numbers('rrr')))) else minus(gradient[1](numbers('rrr')), numbers('rrr'))