To produce 30 boxes of parts, if it is done alone, workshop A will take 15 days to complete, and workshop B will complete it in 10 days. How many days can the two workshops work together to complete all the tasks? (solution in two ways)
要生产30箱零件，若单独做，甲车间要15天完成，乙车间要10天完成，两车间合做多少天能完成全部任务？(用两种方法解)
<gadget id="calculator">1 / 15</gadget>
<output>1/15 = around 0.066667</output>

<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">(1/15) + (1/10)</gadget>
<output>1/6 = around 0.166667</output>

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

<result>6</result>