Function: 2 *(numbers("per") if sin(numbers("per")) > numbers('rep') if numbers("per") > numbers('yxy') if numbers('rep') > numbers("per") else sin(numbers("per")) else sin(numbers("per")) else numbers("per") if sin(numbers("per")) > numbers('rep') else numbers('yxy'))