document.write( "Question 1082288: Each Book cost $11 and each toy cost $6 . how many books and toys did she buy for $157 \n" ); document.write( "
Algebra.Com's Answer #696334 by natolino_2017(77)\"\" \"About 
You can put this solution on YOUR website!
In this case, we only have one equation with two variables.\r
\n" ); document.write( "\n" ); document.write( "Let B: number of books purchased
\n" ); document.write( " T: number of toys purchased.\r
\n" ); document.write( "\n" ); document.write( "1)11B + 6T = 157 or B = (157-6T)/11\r
\n" ); document.write( "\n" ); document.write( "So we make a board with the possible values of T, until the other variable (B) is also an integer.\r
\n" ); document.write( "\n" ); document.write( " if T = 0 then B = 157/11 (not an integer)
\n" ); document.write( " if T = 1 then B = 151/11 (not an integer)
\n" ); document.write( " if T = 2 then B = 145/11 (not an integer)
\n" ); document.write( " if T = 3 then B = 139/11 (not an integer)
\n" ); document.write( " if T = 4 then B = 133/11 (not an integer)
\n" ); document.write( " if T = 5 then B = 127/11 (not an integer)
\n" ); document.write( " if T = 6 then B = 121/11 = 11.\r
\n" ); document.write( "\n" ); document.write( "Here we can continue, if we need another solution (if there is another one) or we can stop the procedure.\r
\n" ); document.write( "\n" ); document.write( "Answer: He bought eleven books and six toys.\r
\n" ); document.write( "\n" ); document.write( "@natolino_
\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );