Function: gradient[2](divide(minus(numbers("yxx") if numbers('xry') > max(mean(numbers("yxx"), numbers('xry')), numbers("yxx")) else mean(numbers("yxx"), numbers('xry')), max(mean(numbers("yxx"), numbers('xry')), numbers("yxx"))), mean(numbers("yxx"), numbers('xry')) if max(mean(numbers("yxx"), numbers('xry')), numbers("yxx")) > numbers('xry') else numbers("yxx")))