if a fast song has 160 beats per minute, and a slow song has 90 beats per minute, how many minutes total would you play a fast and a slow song to have a stream of music that had a total of 1020 beats? Choose the correct choice from the following answers:
A) 6
B) 7
C) 8
D) 9
E) 10
<gadget id="calculator">160 + 90</gadget>
<output>250</output>

<gadget id="calculator">1_020 / 250</gadget>
<output>102/25 = around 4.08</output>

<gadget id="calculator">(102/25) * 2</gadget>
<output>204/25 = around 8.16</output>

<gadget id="calculator">floor(204/25)</gadget>
<output>8</output>

<gadget id="calculator">8 + 1</gadget>
<output>9</output>

<result>D</result>
if a fast song has 160 beats per minute, and a slow song has 90 beats per minute, how many minutes total would you play a fast and a slow song to have a stream of music that had a total of 1020 beats?
add(floor(multiply(divide(1020, add(160, 90)), const_2)), const_1)
we can determine quickly that total number should range between 1020 / 160 < = n < = 1020 / 90 , so ans should be between 6 and 12 . now solving the expression 160 a + 90 b = 1020 decreasing 1020 by multiples of 160 and checking divisibility of that number by 9 , we get fast song plays for 3 minutes and slow somg plays for 6 minutes , 3 * 160 + 6 * 90 = 1020 hence total number of minutes stream of music plays is 3 + 6 = 9 minutes ans d