Function: tan(max(numbers("xxr") if numbers('xyy') > numbers('xry') else numbers('rrr') if numbers('xry') > numbers('xry') if numbers('xyy') > numbers("xxr") if numbers('xyy') > numbers('rrr') else numbers('xry') else numbers('rrr') else numbers('rrr'), numbers('xyy') if numbers('xry') > numbers('rrr') else numbers('xyy') if numbers('rrr') > numbers('xry') else numbers("xxr")))