In a black box there are a balls that are identical except for their color, and there are only 6 red balls in this ball. After stirring the balls evenly each time, take out a ball at will, write down the color and put it back into the dark box. After a large number of repeated ball touching experiments, it is found that the probability of touching a red ball is stable at (1/4), so the approximate value of a can be calculated.
在一个暗箱里放有a个除颜色外其他完全相同的球，这a个球中只有6个红球．每次将球搅拌均匀后，任意摸出一个球记下颜色再放回暗箱．通过大量重复摸球实验后发现，摸到红球的可能性稳定在(1/4)，那么可以推算出a大约是多少．
<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">6 / (1/4)</gadget>
<output>24</output>

<result>24</result>