Bryce spent $5.26 on some apples prices at $0.64 each and some pears priced at $0.45 each. at another store he could have bought the same number of apples at $0.32 each and the same number of pears at $0.39 each, for a total cost of $3.62. how many apples and how many pears did bryce buy?

Respuesta :

Let the number of apples be x and that of pears be y, then:
0.64x + 0.45y = 5.26 . . . (1)
0.32x + 0.39y = 3.62 . . . (2)

(2) x 2 => 0.64x + 0.78y = 7.24 . . . (3)
(1) - (3) => -0.33y = -1.98
y = -1.98 / -0.33 = 6

From (2), 0.32x + 0.39(6) = 3.62
0.32x = 3.62 - 2.34 = 1.28
x = 1.28 / 0.32 = 4

Therefore, he bought 4 apples and 6 pears.