Function: sin(mod(numbers("per") if numbers('xry') > gradient[0](numbers('xry')) else numbers("per") if gradient[0](numbers('xry')) > numbers('xry') else numbers('rep'), numbers('rep') if numbers("per") > gradient[0](numbers('xry')) else numbers('xry')))