A and B each have a certain number of mangoes A ask to B if you give 30 of your Mangoes I will have twice as many as left with you B reply if you give me 10 I will have thrice as many as left with you. how many mangoes does each have.
Answers
Answered by
16
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.
simran298:
okk
Similar questions