The positions, p, of two objects, in metres, after t>= seconds are given by the following functions: p1(x)=xcosx+2 and p2=xsinx+1. When are the objects less than 2m apart during the first 20 secs?

Is the equation you're supposed to use xcosx+2-(xsinx+1)<2? Do you have to convert sin to cos first?

Thanks!