document.write( "Question 829051: A farmer has 500$, He has to buy 100 animals. A cow costs 10, pig costs 1, and horse costs 50. You need to buy one of each at least. \n" ); document.write( "
Algebra.Com's Answer #499667 by TimothyLamb(4379)\"\" \"About 
You can put this solution on YOUR website!
---
\n" ); document.write( "x = cows
\n" ); document.write( "y = pigs
\n" ); document.write( "z = horses
\n" ); document.write( "---
\n" ); document.write( "x + y + z = 100
\n" ); document.write( "10x + y + 50z = 500
\n" ); document.write( "z = 1
\n" ); document.write( "---
\n" ); document.write( "copy and paste the above linear system in standard form into this matrix-method solver:
\n" ); document.write( "https://sooeet.com/math/system-of-linear-equations-solver.php
\n" ); document.write( "---
\n" ); document.write( "solution:
\n" ); document.write( "x = cows = 39
\n" ); document.write( "y = pigs = 60
\n" ); document.write( "z = horses = 1
\n" ); document.write( "---
\n" ); document.write( "NOTE:
\n" ); document.write( "the problem statement says to \"buy one of each animal at least\", so I started with x=1, but that gave a fractional number of animals, then I tried y=1 and that too gave a fractional number of animals, finally I tried z=1, which gave the integer number of animals shown in the solution.
\n" ); document.write( "---
\n" ); document.write( "Solve and graph linear equations:
\n" ); document.write( "https://sooeet.com/math/linear-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve quadratic equations, quadratic formula:
\n" ); document.write( "https://sooeet.com/math/quadratic-formula-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve systems of linear equations up to 6-equations 6-variables:
\n" ); document.write( "https://sooeet.com/math/system-of-linear-equations-solver.php
\n" ); document.write( "
\n" );