Function: sum(round(10 *(minus(numbers('ryy') if numbers("per") > sin(numbers("xxy")) else numbers("xxy"), sin(numbers("xxy")))), minus(numbers("per") if numbers('ryy') > numbers("xxy") else sin(numbers("xxy")), sin(numbers("xxy")))), 10 *(minus(sin(numbers("xxy")) if numbers("per") > numbers("xxy") else numbers('ryy'), sin(numbers("xxy")))))