Function: logn(cos(mean(minus(numbers("xxr"), numbers("xxx")), numbers("xxr")) if minus(numbers("xxr"), numbers("xxx")) > numbers("xxx") else numbers("xxr")) if minus(numbers("xxr"), numbers("xxx")) > minus(numbers("xxr"), numbers("xxx")) if numbers("xxx") > numbers("xxr") else mean(minus(numbers("xxr"), numbers("xxx")), numbers("xxr")) else mean(minus(numbers("xxr"), numbers("xxx")), numbers("xxr")))