document.write( "Question 6915: Hi,
\n" );
document.write( " I really need some help with my daughters homework. I have been away from alegbra for quite some time. Here is her problem.\r
\n" );
document.write( "\n" );
document.write( " A person has $100.00 to purchase 100 animals. Those animals are Horses for $10.00 each, Goats for $1.00 each, and Ducks 8 for $1.00. What formula would I use to solve this problem? I really need your help.\r
\n" );
document.write( "\n" );
document.write( " Thank you so much. \n" );
document.write( "
Algebra.Com's Answer #3792 by glabow(165)![]() ![]() ![]() You can put this solution on YOUR website! I am surprised at your having a problem like this. \n" ); document.write( "There is not enough information to solve in closed form. \n" ); document.write( "However, you have the following information in algebraic form: \n" ); document.write( "Let x be the number of horses bought \n" ); document.write( "Let y be the number of goats bought \n" ); document.write( "Let z be the number of ducks bought\r \n" ); document.write( "\n" ); document.write( "You spend 10x + y + 1/8 z = 100 dollars \n" ); document.write( "You buy x+y+z = 100 animals\r \n" ); document.write( "\n" ); document.write( "So z = 100-x-y \n" ); document.write( "Replacing z with 100-x-y in the first equation gives \n" ); document.write( "10x + y + 100/8 - x/8 - y/8 = 100 \n" ); document.write( "Simplifying this gives \n" ); document.write( "79x+7y=700\r \n" ); document.write( "\n" ); document.write( "Since you can only buy whole animals (I assume) you are looking for integer x and y that satisfy this equation. A short table shows that \n" ); document.write( "8 horses cost 632 leaving 68 -- not divisible by 7 \n" ); document.write( "7 horses cost 533 leaving 147 which equals 7 x 21 \n" ); document.write( "6 horses cost 474 leaving 226 -- not divisible by 7 \n" ); document.write( "5 horses cost 396 leaving 305 -- not divisible by 7 \n" ); document.write( "4 horses cost 316 leaving 384 -- not divisible by 7 \n" ); document.write( "3 horses cost 237 leaving 463 -- not divisible by 7 \n" ); document.write( "2 horses cost 158 leaving 542 -- not divisible by 7 \n" ); document.write( "1 horse costs 79 leaving 621 -- not divisible by 7 \n" ); document.write( "So, x=7 and y=21 are correct.\r \n" ); document.write( "\n" ); document.write( "This means you buy 72 ducks (z=100-7-21). \n" ); document.write( "Checking: 7x10 + 21 + 72/8 = 100 dollars \n" ); document.write( " \n" ); document.write( " |