The area of a square is equal to that of a triangle. It is known that the perimeter of the square is 24 cm and the base of the triangle is 9 cm. What is the height of the triangle in cm?
一个正方形与一个三角形的面积相等，已知正方形的周长是24厘米，三角形的底是9厘米，三角形的高是多少厘米？
<gadget id="calculator">24 / 4</gadget>
<output>6</output>

<gadget id="calculator">6 * 6</gadget>
<output>36</output>

<gadget id="calculator">2 / 9</gadget>
<output>2/9 = around 0.222222</output>

<gadget id="calculator">36 * (2/9)</gadget>
<output>8</output>

<result>8</result>