SOLUTION: Hometown hardware stocks quarts of flat wall paint. The quarts cost 5.25 and gallons cost 16.87. If they have 27 more quarts than gallons and if their inventory is worth 2198.91, h

Algebra ->  Customizable Word Problem Solvers  -> Finance -> SOLUTION: Hometown hardware stocks quarts of flat wall paint. The quarts cost 5.25 and gallons cost 16.87. If they have 27 more quarts than gallons and if their inventory is worth 2198.91, h      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 669328: Hometown hardware stocks quarts of flat wall paint. The quarts cost 5.25 and gallons cost 16.87. If they have 27 more quarts than gallons and if their inventory is worth 2198.91, how much of each size do they have on hand?
Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
Let +a+ = number of quarts they have
Let +b+ = number of gallons they have
given:
(1) +a+=+b+%2B+27+
(2) +5.25a+%2B+16.87b+=+2198.91+
------------------------------
(2) +525a+%2B+1687b+=+219891+
and
(1) +a+-+b+=+27+
----------------
Multiply both sides of (1) by +1687+
and add the equations
(2) +525a+%2B+1687b+=+219891+
(1) +1687a+-+1687b+=+45549+
+2212a+=+265440+
+a+=+120+
and, since
(1) +a+=+b+%2B+27+
(1) +b+=+a+-+27+
(1) +b+=+120+-+27+
(1) +b+=+93+
120 is the number of quarts they have
93 is the number of gallons they have
check:
(2) +5.25%2A120+%2B+16.87%2A93+=+2198.91+
(2) +630+%2B+1568.91+=+2198.91+
(2) +2198.91+=+2198.91+
OK