peter invests a sum of money and gets back an amount of $ 830 in 3 years. david invests an equal amount of money and gets an amount of $ 854 in 4 years. if both amounts were invested at the same rate ( simple interest ) what was the sum of money invested?	Choose the correct option:	A) 670	B) 664	C) 698	D) 758	E) 700
<gadget id="calculator">854 - 830</gadget>
<output>24</output>

<gadget id="calculator">4 / 100</gadget>
<output>1/25 = around 0.04</output>

<gadget id="calculator">3 / 100</gadget>
<output>3/100 = around 0.03</output>

<gadget id="calculator">(1/25) - (3/100)</gadget>
<output>1/100 = around 0.01</output>

<gadget id="calculator">24 / (1/100)</gadget>
<output>2_400</output>

<gadget id="calculator">2_400 * (3/100)</gadget>
<output>72</output>

<gadget id="calculator">830 - 72</gadget>
<output>758</output>

<result>D</result>
peter invests a sum of money and gets back an amount of $ 830 in 3 years. david invests an equal amount of money and gets an amount of $ 854 in 4 years. if both amounts were invested at the same rate ( simple interest ) what was the sum of money invested?
subtract(830, multiply(divide(subtract(854, 830), subtract(divide(4, const_100), divide(3, const_100))), divide(3, const_100)))
"since both peter and david invested the same amount of money at the same rate , they would earn same interest per year . david invested for one year more than peter and hence he got interest amount for one more year . interest earned per year = amount received by david - amount received by peter = 854 - 830 = 24 interest earned for 3 years = 24 * 3 = 72 amount invested = 830 - 72 = 758 answer : d"