Suppose you got 8 mangoes and 3 apples for $18 and 3 mangoes and 5 apples for $14.50.How many does each mango and each apple cost?
Mathematics · High School · Sun Jan 24 2021
Answered on
Let the cost of one mango be x
And, cost of one apple be y
Then,
8x + 3y = 18 …1
3x + 5y = 14.50 …2
Multiplying equation 1 by 5 and equation 2 by 3, we get
40x + 15y = 90 …3
9x + 15y = 43.50 …4
Now, Subtracting equation 4 from 3, we get
40x + 15y - (9x + 15y) = 90 - 43.50
40x + 15y - 9x - 15y = 46.50
31x = 46.50
x = 46.50/31
x = 1.5
Now, putting value of x in equation 1, we get
8(1.5) + 3y = 18
12 + 3y = 18
3y = 18 - 12
3y = 6
y = 6/3
y = 2
Hence, cost of a mango and an apple is $1.5 and $2 respectively.