document.write( "Question 389212: Rica A costs Php 20 per kilo and Rice B costs Php 25 per kilo. How many kilos of each kind must be mixed to produce a 30-kl mixture which costs Php 23 per kilo? \n" ); document.write( "
Algebra.Com's Answer #275749 by gwendolyn(128)\"\" \"About 
You can put this solution on YOUR website!
Let a be the amount of A (the Php 20/kilo kind) rice we will need.
\n" ); document.write( "Let b be the amount of B (the Php 25/kilo kind) rice we will need.\r
\n" ); document.write( "\n" ); document.write( "We know that the total amount will be 30 kilos. So, we can form an equation based on the amount of each rice and the total amount:
\n" ); document.write( "a kilos + b kilos = 30 kilos
\n" ); document.write( "Solving for a (or b, but we pick one at random):
\n" ); document.write( "a + b = 30
\n" ); document.write( "a + b - b = 30 - b
\n" ); document.write( "a = 30 - b\r
\n" ); document.write( "\n" ); document.write( "Our second equation will use the cost.
\n" ); document.write( "We know the cost per kilo of each rice and the amounts have been assigned variables (a, b). Multiplying each amount by its cost per kilo will tell us the the cost each type of rice contributes. We will total those to equal the combined cost (30 kilos at Php 23/kilo). So, in equation:\r
\n" ); document.write( "\n" ); document.write( "20 * a + 25 * b = 23 * 30
\n" ); document.write( "We now substitute out value of a in from the first equation:
\n" ); document.write( "20 * (30 - b) + 25b = 23 * 30
\n" ); document.write( "Distributing the 20 and doing the math:
\n" ); document.write( "600 - 20b + 25b = 690
\n" ); document.write( "600 + 5b = 690
\n" ); document.write( "600 + 5b - 600 = 690 - 600
\n" ); document.write( "5b = 90
\n" ); document.write( "5b/5 = 90/5
\n" ); document.write( "b = 18\r
\n" ); document.write( "\n" ); document.write( "Substituting into our first formula:\r
\n" ); document.write( "\n" ); document.write( "a = 30 - b
\n" ); document.write( "a = 30 - 18
\n" ); document.write( "a = 12\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );