Expression 4: "r" left parenthesis, "x" , "y" , right parenthesis equals left parenthesis, "T" plus 3floor left parenthesis, "y" , right parenthesis , right parenthesis max left parenthesis, 0 , .5 minus StartRoot, "f" left parenthesis, "x" , right parenthesis squared plus "f" left parenthesis, "y" , right parenthesis squared , EndRoot , right parenthesisrx,y=T+3floorymax0,.5−fx2+fy2
4
Expression 5: "f" left parenthesis, "x" , right parenthesis equals mod left parenthesis, "x" , 1 , right parenthesis minus .5fx=modx,1−.5