SOLUTION: hi :) I need help setting up a system of equations for this word problem: Joe bought 100 sandwiches. He paid $1.25 each for the ham sandwiches and $.95 for the pb&j sandwiches.

Algebra ->  Matrices-and-determiminant -> SOLUTION: hi :) I need help setting up a system of equations for this word problem: Joe bought 100 sandwiches. He paid $1.25 each for the ham sandwiches and $.95 for the pb&j sandwiches.      Log On


   



Question 1084446: hi :)
I need help setting up a system of equations for this word problem:
Joe bought 100 sandwiches. He paid $1.25 each for the ham sandwiches and $.95 for the pb&j sandwiches. the total bill was $109.80

Answer by ankor@dixie-net.com(22740) About Me  (Show Source):
You can put this solution on YOUR website!
let h = no. ham sandwiches
let p = no. of other sandwiches
:
Write an equation for each statement
:
"Joe bought 100 sandwiches."
h + p = 100
" He paid $1.25 each for the ham sandwiches and $.95 for the pb&j sandwiches. the total bill was $109.80"
1.25h + .95p = 109.8
:
Using substitution, change the 1st equation to
p = (100-h), replace p in the 2nd equation