Melody has a mug with a diameter of 3.5 inches and a height of 4 inches. It is filled to the top with water. She wants to pour it into a different mug with a diameter of 3 inches. What is the minimum height the different mug must be so it does not overflow? Round to the nearest tenth.