A cube is painted yellow on each side, and then it is cut into small cubes with a side length of 1 cm. It is known that there are 48 small cubes painted on both sides. Find the length of the sides of the large cube in centimeters.
一个正方体，在它的每个面上都涂上黄色，再把它切成棱长是1厘米的小正方体，已知两面涂色的小正方体有48个．求大正方体的棱长是多少厘米．
<gadget id="calculator">48 / 12</gadget>
<output>4</output>

<gadget id="calculator">1 * 4</gadget>
<output>4</output>

<gadget id="calculator">4 + 2</gadget>
<output>6</output>

<result>6</result>