Problem #27
A mathematically oriented candy company is putting their Valentine's Day
candy into boxes in the shape of a cardioid. In polar coordinates, the
equation of the cardioid is

If the company puts the candy box into a rectangular shipping box as shown
below, what are the dimensions of the shipping box?

If the company puts the candy box into a square shipping box as shown
below, what are its dimensions?