Function: cos(sum(numbers('rrr'), numbers("xxr")) if numbers('rrr') if sum(numbers('rrr'), numbers("xxr")) > numbers("xxr") else numbers("yyy") > gradient[0](numbers("xxr") if numbers('rrr') > sum(numbers('rrr'), numbers("xxr")) else numbers("yyy")) else minus(gradient[0](numbers('rrr') if numbers("xxr") > sum(numbers('rrr'), numbers("xxr")) else numbers("yyy")), numbers("xxr") if numbers('rrr') > numbers("yyy") else sum(numbers('rrr'), numbers("xxr"))))