document.write( "Question 1099557: Alyssa wants to adjust the amount of milk and grape juice she drinks each day to control the amount of sodium and carbohydrates in her diet. An ounce of milk contains 15mg of sodium and 1.5g of carbohydrates, while an ounce of grape juice contains 2.5mg of sodium and 5g of carbohydrates. How many ounces of milk and grape juice should Alyssa drink each day to provide 270 mg of sodium and 84g of carbohydrates from these two drinks. \n" ); document.write( "
Algebra.Com's Answer #713989 by htmentor(1343)\"\" \"About 
You can put this solution on YOUR website!
Let m = the number of ounces of milk
\n" ); document.write( "Let j = the number of ounces of juice
\n" ); document.write( "The daily intake of sodium will be 15m + 2.5j = 270 [1]
\n" ); document.write( "The daily intake of carbohydrates will be 1.5m + 5j = 84 [2]
\n" ); document.write( "We have two equations and two unknowns
\n" ); document.write( "Multiply [1] by 2 and subtract [2]:
\n" ); document.write( "28.5m = 540 - 84 = 456
\n" ); document.write( "This gives m = 16
\n" ); document.write( "Substitute into [2]:
\n" ); document.write( "1.5*16 + 5j = 84
\n" ); document.write( "5j = 60
\n" ); document.write( "j = 12
\n" ); document.write( "So she needs to drink 16 ounces of milk and 12 ounces of juice.
\n" ); document.write( "
\n" );