Function: cos(minus(minus(product(numbers("xxy") if numbers('yxr') > numbers("yxx") else numbers('ryy'), numbers("yxx")), numbers('yxr') if numbers("xxy") > numbers('ryy') else numbers("yxx")), product(numbers("yxx") if numbers('ryy') > numbers('yxr') else numbers("xxy"), numbers("yxx"))))