SOLUTION: 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.

Algebra.Com
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.
Answer by TimothyLamb(4379)   (Show Source): You can put this solution on YOUR website!
---
x = cows
y = pigs
z = horses
---
x + y + z = 100
10x + y + 50z = 500
z = 1
---
copy and paste the above linear system in standard form into this matrix-method solver:
https://sooeet.com/math/system-of-linear-equations-solver.php
---
solution:
x = cows = 39
y = pigs = 60
z = horses = 1
---
NOTE:
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.
---
Solve and graph linear equations:
https://sooeet.com/math/linear-equation-solver.php
---
Solve quadratic equations, quadratic formula:
https://sooeet.com/math/quadratic-formula-solver.php
---
Solve systems of linear equations up to 6-equations 6-variables:
https://sooeet.com/math/system-of-linear-equations-solver.php

RELATED QUESTIONS

A farmer buys 100 animals for $100 total. The animals include at least 1 cow, 1 pig and (answered by ikleyn)
a farmer has to buy 100 animals using only $100. a chicken costs $0.25 a sheep costs... (answered by math_tutor2020)
A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig,... (answered by ptaylor)
A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig,... (answered by josgarithmetic)
One horse costs $1000, one pig costs $200, and one chicken costs only $10. A farmer buys... (answered by user_dude2008,solver91311)
There was a farmer who was selected after a deal. A tax payer said return $100 for... (answered by josmiceli)
A pet store owner spent $100 to buy 100 animals. He bought at Least one iguana , one... (answered by ankor@dixie-net.com)
Hi sir, i am really confused with the sum and need immediate help . Q.A rabbit costs... (answered by ptaylor)
It costs $50 to bet on a pig race. The pig has a 1/12 chance of placing first, a 1/8... (answered by ikleyn)