Determine the horizontal and vertical components of a vector with a magnitude of 50 and a direction of 42° relative to the horizontal.