A particle is moving along the x-axis with velocity v(t) = sin2t. At time t = pi/2 it has position x = 3. Find the total distance, s traveled by this particle on the interval 0 <= t <= pi.