36.8k views
3 votes
A grocery store has a small bag of apples for $5 and a large bag for $8. If you bought 6 bags and spent $45, how many of each size of bags did you buy?

2 Answers

5 votes

Answer:

he bought 1 bag of small apple and 5 bags of Large apple

Step-by-step explanation: given that A small bag of apples = $5 and

A large bag = $8.

If you bought 6 bags and spent $45,

Let number of small apple be S

And large Apple be L

L + S = 6 ....... (1) ×8

8L + 5S = 45 .......(2)

Solve equation 1 and 2 simultaneously

8L + 8S = 48

8L + 5S = 45

Eliminate L

3S = 3

S = 1

Substitute S in equation 1

L = 6 - 1 = 5

Therefore, he bought 1 bag of small apple and 5 bags of Large apple

User Orkoden
by
4.4k points
3 votes

Answer:

1 small bags and 5 large bags

Explanation:

In this case we can solve it using a 2x2 system of equations, like this:

let x: number of small bag

let y: number of large bag

So:

5 * x + 8 * y = 45

x + y = 6 => x = 6 - y

Replacing, we are left with that:

5 * ( 6 - y) + 8 * y = 45

30 - 5 * y + 8 * y = 45

- 5 * y + 8 * y = 45 - 30

3 * y = 15

y = 15/3

y = 5

Now to calculate x:

x = 6 - 5

x = 1

this means that 1 small bag and 5 large bags

User Parth Tiwari
by
4.4k points