I need help with defining a function that depends on differential equation result. So, if yrez >= 5, I need to output Qout=2