Function: divide(sum(cos(numbers('yyx') if numbers('yxr') > numbers("yyy") else mean(numbers('yyx'), numbers('yxr'))), numbers('yyx') if numbers("yyy") > numbers('yxr') else mean(numbers('yyx'), numbers('yxr'))), cos(mean(numbers('yyx'), numbers('yxr')) if numbers("yyy") > numbers('yxr') else numbers('yyx')))