Function: divide(100 *(numbers('xyy')) if square(minus(100 *(numbers('xyy')), numbers('xyy'))) > gradient[2](square(minus(100 *(numbers('xyy')), numbers('xyy')))) else minus(100 *(numbers('xyy')), numbers('xyy')), gradient[2](square(minus(100 *(numbers('xyy')), numbers('xyy')))))