The slotted link is pinned at O, and as a result of the constant angular velocity theta dot= 3rad/s it drives the peg P for a short distance along the spiral guide r=(0.4theta) m, where theta is in radians. Determine the velocity and acceleration of the particles at the instant it leaves the slot in the link when r=0.5m.