SOLUTION: Sam buys 3 kinds of fruit for 40 dollars, 10 dollars, and 1 dollar each. He pays 259 dollars for 100 pieces of fruit. How many of the cheapest did he buy?

Algebra ->  Coordinate Systems and Linear Equations  -> Linear Equations and Systems Word Problems -> SOLUTION: Sam buys 3 kinds of fruit for 40 dollars, 10 dollars, and 1 dollar each. He pays 259 dollars for 100 pieces of fruit. How many of the cheapest did he buy?      Log On


   



Question 173499: Sam buys 3 kinds of fruit for 40 dollars, 10 dollars, and 1 dollar each. He pays 259 dollars for 100 pieces of fruit. How many of the cheapest did he buy?
Found 2 solutions by ankor@dixie-net.com, josmiceli:
Answer by ankor@dixie-net.com(22740) About Me  (Show Source):
You can put this solution on YOUR website!
: Sam buys 3 kinds of fruit for 40 dollars, 10 dollars, and 1 dollar each. He pays 259 dollars for 100 pieces of fruit. How many of the cheapest did he buy?
:
Three kinds of fruit x, y, z
:
x + y + z = 100
and
40x + 10y + z = 259
:
Subtract the 1st equation from the 2nd
40x + 10y + z = 259
x + y + z = 100
----------------------
39x + 9y = 159
Simplify, divide by 3
13x + 3y = 53
3y = 53-13x
y = %28%2853-13x%29%29%2F3
We know there can't be many $40 fruits (x) and y has to be an integer
try x = 2
y = %28%2853-26%29%29%2F3
y = 27%2F3
y = 9 ea $10 fruit, this is the only positive integer solution
:
Find z
2 + 9 + z = 100
z = 100 - 11
z = 89 ea $1 animals, (the cheapest fruit)
:
Check in the Cost equation
40(2) + 10(27) + 1(89)
80 + 90 + 89 = 259; confirms our solutions

Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
Call the quantities of the 3 kinds of fruit
a,b, and c
Given:
(1) a+%2B+b+%2B+c+=+100
(2) 40a+%2B+10b+%2B+1%2Ac+=+259
---------------------------
Just observing, I see I have 3 unknowns and only 2
equations. It looks like I need another equation,
but I'll try to solve anyway
Subtract (1) from (2)
39a+%2B+9b+=+159
divide both sides by 3
13a+%2B+3b+=+53
I'll make a chart and see if I can get a+%2B+b+%2B+c+=+100
----------------------------------------------
-- a -- b -- c -- 13a+3b -- a+b+c
----------------------------------------------
-- 4 --- 0 --- 1 --- 53 ----- 5
-- 3 -- 14/3 (no good, b is not a whole number)
-- 1 -- 40/3 (no good, b is not a whole number)
-- 2 --- 9 --- 47 --- 53 --- 100
These are the only values for a,b, and c that work out
He bought 47 of the cheapest fruit