I can do this using a sop solver with this:
if (@Frame % 5 == 0){ i@move *= -1; }else @P += @N*i@move;
However i'd originally wanted to do avoiding the solver and using sin() but have trouble figuring out how to refit down to just 10 frames... a maths black spot.
So I can change the -1/+1 of a sin wave with
fit(sin, -1,1,0,1);

