Function: minus(cos(sum(numbers('rep'), numbers('yxy')) if numbers('yxy') > numbers('rep') else numbers('yxy')) if sum(numbers('rep'), numbers('yxy')) > 2 *(cos(numbers('rep') if sum(numbers('rep'), numbers('yxy')) > numbers('yxy') else numbers('yxy'))) else numbers('rep') if numbers('yxy') > sum(numbers('rep'), numbers('yxy')) else numbers('yxy'), 2 *(cos(sum(numbers('rep'), numbers('yxy')) if numbers('yxy') > numbers('yxy') else numbers('rep'))))