Function: cos(2 *(mean(divide(numbers('xry'), numbers("yxx")), numbers('xry')))) if divide(numbers('xry'), numbers("yxx")) > mean(divide(numbers('xry'), numbers("yxx")), numbers('xry')) else 2 *(mean(divide(numbers('xry'), numbers("yxx")), numbers('xry')))