A square and a rectangle have the same perimeter. The length of the rectangle is 24 meters and the width is 16 meters. What is the side length of the square in meters?
一个正方形和一个长方形的周长相等，长方形的长是24米，宽是16米，正方形的边长是多少米．
<gadget id="calculator">24 + 16</gadget>
<output>40</output>

<gadget id="calculator">2 / 4</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">40 * (1/2)</gadget>
<output>20</output>

<result>20</result>