julie put half of her savings in a savings account that pays an annual simple interest and half in a savings account that pays an annual compound interest . after two years she earned $ 120 and $ 126 from the simple interest account and the compound interest account respectively . if the interest rates for both accounts were the same , what was the amount of julie ' s initial savings ?
"$ 120 for 2 years = $ 60 per year . extra $ 6 yearned with the compound interest is the percent yearned on percent . so , $ 6 is yearned on $ 60 , which means that the interest = 10 % . this on the other hand means that half of the savings = 60 * 10 = $ 600 . twice of that = $ 1,200 . answer : d ."
divide(120, divide(multiply(const_2, subtract(126, 120)), 120))