Determine the quadrants in which each angle lies