• MrLeitexxx's Avatar

    MrLeitexxx

    Otakuite+ | Posted 01/12/10 | Reply

    very good almagest, exactly how i wanted it worked out. kudos to you XD

  • Almagest's Avatar

    Almagest

    Otakuite | Posted 01/12/10 | Reply

    x = price of toffies
    y = price of bonbons

    2x+3y=4.5
    13x+5y=10.35

    By rearranging the first equation, we find that:
    x=(4.5-3y)/2

    Plug that value in for x in the second equation:
    13[(4.5-3y)/2]+5y=10.35

    Solve for y and find that y is approximately 1.30

    Plug the y value back into the rearranged first equation to find x:
    x=(4.5-3(1.30))/2

    We find that x is approximately 0.30

    So the cost of 38 toffies and 58 bonbons is found as follows:
    38x+58y=?
    38(0.30)+58(1.30)=11.4+75.4=86.8

    Final answer: $86.80
    (This is an approximation though because x and y were approximate values.)

    I love math, what can I say? =P


    Last edited by Almagest at 12:33:10 AM EST on January 12, 2010.