Function: cos(mean(numbers('ryy') if numbers('xyy') > numbers("yxx") else numbers("xyx"), numbers("xyx")) if numbers("xyx") > numbers("yxx") if numbers("xyx") > numbers('ryy') else numbers('xyy') else sqrt(mean(numbers('xyy') if numbers('ryy') > numbers("yxx") else numbers("xyx"), numbers("xyx"))))