SOLUTION: A party was organised for thirty people at which they could either have a hamburger or a pizza. If there were five times as many hamburgers as pizzas, calculate the number of e

Algebra ->  Coordinate Systems and Linear Equations  -> Linear Equations and Systems Word Problems -> SOLUTION: A party was organised for thirty people at which they could either have a hamburger or a pizza. If there were five times as many hamburgers as pizzas, calculate the number of e      Log On


   



Question 1156017: A party was organised for thirty people at which they could either have a hamburger or
a pizza. If there were five times as many hamburgers as pizzas, calculate the number of
each.

Answer by MathLover1(20850) About Me  (Show Source):
You can put this solution on YOUR website!

let the number of hamburgers be h and the number of pizzas p
if a party was organised for 30 people at which they could either have a hamburger or a pizza, we have
h%2Bp=30.........eq.1
if there were 5 times as many hamburgers as pizzas, we have
h=5p......eq.2
substitute h in eq.1
5p%2Bp=30.........solve for p
6p=30
p=30%2F6
p=5
go to eq.2
h=5p......eq.2, substitute p
h=5%2A5
h=25
answer: there was 25 hamburgers and 5 pizzas