document.write( "Question 147190: A rancher has some sheep and ostriches. His young daughter observed that the animals have a total of 60 eyes and 86 feet. How many animals of each type does the rancher have? \n" ); document.write( "
Algebra.Com's Answer #107517 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"s\"= number of sheep
\n" ); document.write( "Let \"b\"= number of ostriches
\n" ); document.write( "\"4s\"= number of legs that sheep have
\n" ); document.write( "\"2b\"= number of legs that ostriches have
\n" ); document.write( "\"2%2A%28s+%2B+b%29\"= number of eyes sheep and ostriches together have
\n" ); document.write( "\"4s+%2B+2b+=+86\"
\n" ); document.write( "Divide both sides by \"2\"
\n" ); document.write( "\"2s+%2B+b+=+43\"
\n" ); document.write( "and
\n" ); document.write( "\"2s+%2B+2b+=+60\"
\n" ); document.write( "Divide both sides by \"2\"
\n" ); document.write( "\"s+%2B+b+=+30\"
\n" ); document.write( "\"b+=+30+-+s\"
\n" ); document.write( "Substitute this in the other equation
\n" ); document.write( "\"2s+%2B+b+=+43\"
\n" ); document.write( "\"2s+%2B+30+-+s+=+43\"
\n" ); document.write( "\"s+=+13\"
\n" ); document.write( "\"b+=+30+-+s\"
\n" ); document.write( "\"b+=+30+-+13\"
\n" ); document.write( "\"b+=+17\"
\n" ); document.write( "There are 13 sheep and 17 ostriches
\n" ); document.write( "check:
\n" ); document.write( "\"4s+%2B+2b+=+86\"
\n" ); document.write( "\"4%2A13+%2B+2%2A17+=+86\"
\n" ); document.write( "\"52+%2B+34+=+86\"
\n" ); document.write( "\"86+=+86\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );