Function: product(numbers("xxy"), numbers("xyx")) if mean(product(numbers("xxy"), numbers("xyx")), numbers("xxy")) > sqrt(cos(mean(product(numbers("xxy"), numbers("xyx")), numbers("xxy")))) else cos(mean(product(numbers("xxy"), numbers("xyx")), numbers("xxy")))