Function: sin(2 *(numbers("per") if numbers("yxx") > sum(numbers("yxx"), numbers('ryy')) else numbers('ryy')) if numbers("yxx") > sum(numbers("yxx"), numbers('ryy')) else numbers("yxx") if sum(numbers("yxx"), numbers('ryy')) > numbers('ryy') else numbers("per"))