Given the dimensions of two rectangles, i need to know how many smaller rectangles can fit the bigger one. It should account for mixed orientations meaning that the smaller rectangle can both be landscape and portrait when fit inside the bigger rectangle.
Is there a math equation for this?
Thanks!