Received 2470

Danka and Janka split a pack of candies in a ratio of 5:7. Jana received four more candies than Danka. How many candies were in the package?

Correct answer:

x =  24

Step-by-step explanation:


7d = 5j
j = d+4
x = j+d

7·d = 5·j
j = d+4
x = j+d

7d-5j = 0
d-j = -4
d+j-x = 0

Row 2 - 1/7 · Row 1 → Row 2
7d-5j = 0
-0.286j = -4
d+j-x = 0

Row 3 - 1/7 · Row 1 → Row 3
7d-5j = 0
-0.286j = -4
1.714j-x = 0

Pivot: Row 2 ↔ Row 3
7d-5j = 0
1.714j-x = 0
-0.286j = -4

Row 3 - -0.28571429/1.71428571 · Row 2 → Row 3
7d-5j = 0
1.714j-x = 0
-0.167x = -4


x = -4/-0.16666667 = 24
j = 0+x/1.71428571 = 0+24/1.71428571 = 14
d = 0+5j/7 = 0+5 · 14/7 = 10

d = 10
j = 14
x = 24

Our linear equations calculator calculates it.



Did you find an error or inaccuracy? Feel free to write us. Thank you!







Tips for related online calculators
Check out our ratio calculator.
Do you have a linear equation or system of equations and are looking for its solution? Or do you have a quadratic equation?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions: