SOLUTION: A chocolate bar is worth a quarter (25 cents) and a piece of gum costs a dime (10 cents). If Ariel bought 40 pieces of candy for $7, how many chocolate bars did he buy? [PS: only o

Algebra ->  Customizable Word Problem Solvers  -> Mixtures -> SOLUTION: A chocolate bar is worth a quarter (25 cents) and a piece of gum costs a dime (10 cents). If Ariel bought 40 pieces of candy for $7, how many chocolate bars did he buy? [PS: only o      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 712189: A chocolate bar is worth a quarter (25 cents) and a piece of gum costs a dime (10 cents). If Ariel bought 40 pieces of candy for $7, how many chocolate bars did he buy? [PS: only one variable]
Answer by josgarithmetic(39617) About Me  (Show Source):
You can put this solution on YOUR website!
TWO variables. At least to start.

b and g for chocolate BAR and gum, respectively.
b%2A0.25%2Bg%2A0.10=7.00 accounts for the money.
b%2Bg=40 accounts for the number of candy pieces. You will still use the relationship after you find your first variable's value.

Since the question is, how many chocolate bars, try just substituting for g.
From the piece count equation, g=40-b. Substitute:

0.25b%2B%2840-b%290.10=7
Solve for b.