document.write( "Question 141235: Need to buy $65 worth of a liquid. Can only buy 40 bottles. One bottle costs $1.80 and another costs $1.25. Need to buy the most $1.80 as possible. Need an equation. Thx. \n" ); document.write( "
| Algebra.Com's Answer #102907 by stanbon(75887)      You can put this solution on YOUR website! Need to buy $65 worth of a liquid. Can only buy 40 bottles. One bottle costs $1.80 and another costs $1.25. Need to buy the most $1.80 as possible. Need an equation. \n" ); document.write( "--------------------- \n" ); document.write( "Let x be # of 1.80 bottles: Let y be # of 1.25 bottles. \n" ); document.write( "--------------------------- \n" ); document.write( "Quantity Equation: x+y = 40 \n" ); document.write( "Value Equation: 1.8x + 1.25y <= 65 \n" ); document.write( "-------------------------------------- \n" ); document.write( "x = 40-y \n" ); document.write( "1.8(40-y) + 1.25y <= 65 \n" ); document.write( "72 - 0.55y = 65 \n" ); document.write( "0.55y = 7 \n" ); document.write( "y = 12.72 (number of 1.25 bottles: rounded down to 12 bottles \n" ); document.write( "The x = 28 when rounded up (# of $1.80 bottles) \n" ); document.write( "===================== \n" ); document.write( "Cheers, \n" ); document.write( "Stan H. \n" ); document.write( " \n" ); document.write( " |