city a to city b, andrew drove for 1 hour at 50 mph and for 3 hours at 60 mph. what was the average speed for the whole trip?
Choices:
A) 56  B) 57.5  C) 58.9  D) 61.4  E) 62
<gadget id="calculator">50 * 1</gadget>
<output>50</output>

<gadget id="calculator">60 * 3</gadget>
<output>180</output>

<gadget id="calculator">50 + 180</gadget>
<output>230</output>

<gadget id="calculator">3 + 1</gadget>
<output>4</output>

<gadget id="calculator">230 / 4</gadget>
<output>115/2 = around 57.5</output>

<result>B</result>
city a to city b, andrew drove for 1 hour at 50 mph and for 3 hours at 60 mph. what was the average speed for the whole trip?
divide(add(multiply(50, 1), multiply(60, 3)), add(3, 1))
the total distance is 1 × 50 + 3 × 60 = 2301 × 50 + 3 × 60 = 230 . and the total time is 4 hours . hence , average speed = ( total distancetotal time ) = 2304 = 57.5 b