Function: 2 *(numbers("yxx") if numbers('rrr') > numbers("per") else numbers('ryy') if tan(numbers('ryy') if numbers("yxx") > numbers('rrr') else numbers("per")) > numbers('ryy') if numbers("yxx") if numbers("per") > numbers('ryy') else numbers('rrr') > numbers('rrr') else tan(numbers('rrr') if numbers("per") > numbers('ryy') else numbers("yxx")) else numbers('rrr'))