Function: 2 *(sqrt(product(exp(numbers('rep'), numbers('ryy')), numbers('rep')))) if product(exp(numbers('rep'), numbers('ryy')), numbers('rep')) > exp(numbers('rep'), numbers('ryy')) else sqrt(product(exp(numbers('rep'), numbers('ryy')), numbers('rep')))