document.write( "Question 1011499: Brainstorming !! I send a famer to buy 100 animals with $100.00 dollars,how many off each he can buy? Ducks $10 each, pigs $3.00 each, chicks .50¢ each??
\n" );
document.write( "2 possible answers. \n" );
document.write( "
Algebra.Com's Answer #627155 by rothauserc(4718) You can put this solution on YOUR website! let d be number of ducks, p be number of pigs, c be number of chicks, then \n" ); document.write( "d + p + c = 100 \n" ); document.write( "10d + 3p + 0.50c = 100 \n" ); document.write( "*************************************************************************** \n" ); document.write( "there are 101 solutions \n" ); document.write( "reject those solutions that do not result in d + p + c = 100 \n" ); document.write( "************************************************************************** \n" ); document.write( "multiply the first equation by -3 and add the two equations \n" ); document.write( "-3d -3p -3c = -300 \n" ); document.write( "10d +3p +0.50c = 100 \n" ); document.write( "add these two equations, we get \n" ); document.write( "7d -2.5c = -200 \n" ); document.write( "let c=a, where a is an integer from the set [0, 100] \n" ); document.write( "7d -2.5a = -200 \n" ); document.write( "d = (2.5a - 200) / 7 \n" ); document.write( "************************************************************************** \n" ); document.write( "now use first equation to solve for p in terms of a \n" ); document.write( "(2.5a-200)/7 +p + a = 100 \n" ); document.write( "multiply both sides of = by 7 \n" ); document.write( "2.5a-200 +7p +7a = 700 \n" ); document.write( "9.5a +7p = 900 \n" ); document.write( "p = (900 -9.5a) / 7 \n" ); document.write( "************************************************************************** \n" ); document.write( "solution set is \n" ); document.write( "d=(2.5a-200)/7, p=(900-9.5a)/7, c=a \n" ); document.write( " |