You are here:

Advanced Math/Find the cost and numbers of animal (4 unknowns)

Advertisement


Question
I have this tought question and would need your help.The question sounds like this:

Mike has bought a numbers of x chicken with price at a each.
He also bought a numbers of y duck with price at b each.
All together he has spend $208. ax+by=208
Total numbers of chicken and duck is 20. x+y=20
b is bigger than a. b>a

Please find the value of x,y,a and b.

Answer
ax + by = 208
x + y = 20

x + y = 20
y = -x + 20

ax + b(-x + 20) = 208
ax - bx + 20b = 208
(a - b)x + 20b = 208

(a - b)x = -20b + 208
(a - b)x = -20(b - (52/5))
x = (-20(b - (52/5)))/(a - b)

y = -((-20(b - (52/5)))/(a - b))
y = (20(b - (52/5)))/(a - b)

ax - bx + 20b = 208
ax - b(x - 20) = 208
ax = b(x - 20) + 208
a = (b(x - 20) + 208)/x

ax - bx + 20b = 208
ax - b(x - 20) = 208
-b(x - 20) = -ax + 208
-b = (-ax + 208)/(x - 20)
b = (ax - 208)/(x - 20)

------------------------------------

a = (b(x - 20) + 208)/x
b = (ax - 208)/(x - 20)
x = (-20(b - (52/5)))/(a - b)
y = (20(b - (52/5)))/(a - b)

using that
x = 1-19
y = 19-1

Since this will take to long for me to do, i recommend going to answers.yahoo.com for further help.

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Sherman D.

Expertise

I can answer questions dealing in mathematics of all kinds except for Physics and Calculus, but i can answer questions in Pre-Calculus and Chemistry. I can also answer questions in Recipes of all kinds. I can find games cheats/walkthroughs, but i can`t find a specific game online or offline. I can also do history and recipes for alcoholic beverages.

Experience

Mathematics, Recipes, History, and Games.

Education/Credentials
High School graduated. I graduated with honors, and i was in Beta Club for a year and a half.

Awards and Honors
Principle's list and A and B honor roll in high school only.

©2012 About.com, a part of The New York Times Company. All rights reserved.