Function: max(cos(product(numbers("yyy"), numbers('yyx'))) if log(cos(product(numbers("yyy"), numbers('yyx'))), product(numbers("yyy"), numbers('yyx'))) > gradient[1](log(cos(product(numbers("yyy"), numbers('yyx'))), product(numbers("yyy"), numbers('yyx')))) else product(numbers("yyy"), numbers('yyx')), gradient[1](log(cos(product(numbers("yyy"), numbers('yyx'))), product(numbers("yyy"), numbers('yyx')))))