178k views
2 votes
during a sale at the bookstore, books sold for 5$ and magazine sold for 4.50. Declan spent 33$ and bought a total of 7 books and magazines how many of each did he buy​

User Localist
by
4.6k points

1 Answer

3 votes

Answer:

Declan bought 3 books and 4 magazines

Explanation:

Let number of books bought be x

Let number of magazines bought be y

Total number of books and magazines bought = x + y = 7

∴ x + y = 7 - - - - - (1)

x = 7 - y - - - - - (2)

we are also told that total amount spent = $33; when price per book = $5; and price per magazine = $4.5

∴ 5(x) + 4.5(y) = 33 - - - - - - - (3)

substituting equation 2 ( x = 7 - y ) into equation 3:

5(x) + 4.5(y) = 33

= 5 (7 - y) + 4.5(y) = 33

35 - 5y + 4.5y = 33

35 -0.5y = 33

35 = 33 + 0.5y

35 - 33 = 0.5y

0.5y = 2

y = 2 ÷ 0.5 = 4

∴ y = 4

solving for x, by putting the value of y into equation 2:

x = 7 - y - - - - (2)

x = 7 - 4 = 3

∴ x = 3

Therefore, Declan bought 3 books and 4 magazines.

User Flori
by
4.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.