A and B have certain no. of mangoes.A says to B if you give 30 of your mangoes.I will have twice as many as left with you B replies if you give me 10.I will have thrice as many as left with you.How many mangoes does each have.
Answers
Answered by
304
let A and B have x and y mangoes respectively.
if A gets 30 mangoes A will have x + 30 mangoes and B will have y - 30
according, to the problem, x + 30 = 2(y - 30)
or, x + 30 = 2y - 60
or, x - 2y = -90 .......................(i)
Also, 3(x - 10) = y + 10
or,3x - 30 = y + 10
or, 3x - y = 40 .........................(ii)
Solving eqn(i) and eqn(ii) we get x = 34 and y = 62
So A and B has 34 and 62 mangoes initially.
if A gets 30 mangoes A will have x + 30 mangoes and B will have y - 30
according, to the problem, x + 30 = 2(y - 30)
or, x + 30 = 2y - 60
or, x - 2y = -90 .......................(i)
Also, 3(x - 10) = y + 10
or,3x - 30 = y + 10
or, 3x - y = 40 .........................(ii)
Solving eqn(i) and eqn(ii) we get x = 34 and y = 62
So A and B has 34 and 62 mangoes initially.
Answered by
165
it will help you definitely......
Attachments:
Similar questions