document.write( "Question 392483: You must buy 100 pets and spend $100. You may buy dogs, cats and mice, and you must buy at least one of each pet. Dogs cost $15, cats cost $1 and mice are 25 cents each. How many of each pet will you buy if you spend exactly $100 and buy exactly 100 pets? \n" ); document.write( "
Algebra.Com's Answer #278586 by ankor@dixie-net.com(22740)![]() ![]() You can put this solution on YOUR website! You must buy 100 pets and spend $100. You may buy dogs, cats and mice, \n" ); document.write( " and you must buy at least one of each pet. \n" ); document.write( "Dogs cost $15, cats cost $1 and mice are 25 cents each. \n" ); document.write( " How many of each pet will you buy if you spend exactly $100 and buy exactly 100 pets? \n" ); document.write( ": \n" ); document.write( "Let no. of each animal be, d, c, m \n" ); document.write( ": \n" ); document.write( "Total animal equation \n" ); document.write( "d + c + m = 100 \n" ); document.write( "Total cost equation \n" ); document.write( "15d + 1c + .25m = 100 \n" ); document.write( ": \n" ); document.write( "We got three unknowns and two equations, but we know the solutions are integers \n" ); document.write( "Eliminate the cats \n" ); document.write( "15d + 1c + .25m = 100 \n" ); document.write( " 1d + 1c + 1m = 100 \n" ); document.write( "---------------------- Subtraction eliminates c \n" ); document.write( "14d - .75m = 0 \n" ); document.write( "or \n" ); document.write( ".75m = 14d \n" ); document.write( "m = \n" ); document.write( "substitute values for d, until you get an integer value for m \n" ); document.write( "when you get to d = 3 \n" ); document.write( "m = \n" ); document.write( "m = \n" ); document.write( "m = 56 mice \n" ); document.write( ": \n" ); document.write( "We have 3 dogs and 56 mice, then 100 - 59 = 41 cats \n" ); document.write( ": \n" ); document.write( ": \n" ); document.write( "Check that in the cost equation \n" ); document.write( "15(3) + 1(41) .25(56) = \n" ); document.write( "45 + 41 + 14 = 100\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |