Problem: 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 ?
Rationale: "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"
annotated_formula: subtract(830, multiply(divide(subtract(854, 830), subtract(divide(4, const_100), divide(3, const_100))), divide(3, const_100)))