bhaman travelled for 15 hours. he covered the first half of the distance at 40 kmph and remaining half of the distance at 10 kmph. find the distance travelled by bhaman?	Choose one
A) 240
B) 230
C) 260
D) 220
E) 340
<gadget id="calculator">2 * 40</gadget>
<output>80</output>

<gadget id="calculator">80 / 10</gadget>
<output>8</output>

<gadget id="calculator">2 * 10</gadget>
<output>20</output>

<gadget id="calculator">20 / 10</gadget>
<output>2</output>

<gadget id="calculator">8 + 2</gadget>
<output>10</output>

<gadget id="calculator">15 / 10</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">8 * 2</gadget>
<output>16</output>

<gadget id="calculator">16 * 10</gadget>
<output>160</output>

<gadget id="calculator">(3/2) * 160</gadget>
<output>240</output>

<result>A</result>
bhaman travelled for 15 hours. he covered the first half of the distance at 40 kmph and remaining half of the distance at 10 kmph. find the distance travelled by bhaman?
multiply(divide(15, add(divide(multiply(const_2, 40), const_10), divide(multiply(const_2, 10), const_10))), multiply(multiply(divide(multiply(const_2, 40), const_10), divide(multiply(const_2, 10), const_10)), const_10))
let the distance travelled be x km . total time = ( x / 2 ) / 40 + ( x / 2 ) / 10 = 15 = > x / 80 + x / 20 = 15 = > ( x + 4 x ) / 80 = 15 = > x = 240 km answer : a