The number of twenty-cent coins in a box was 1/3 the number of fifty-cent coins. 8 fifty-cent coins were taken out and exchanged for twenty-cent coins which were put back into the box. The number of fifty-cent coins became 4/7 the number of twenty-cent coins. How much money was there in the box?

Let's start by using variables to represent the unknown quantities in the problem. Let:

- x be the number of fifty-cent coins in the box
- y be the number of twenty-cent coins in the box

From the first sentence of the problem, we know that:

y = (1/3)x

We can use this equation to substitute y in terms of x in the rest of the problem.

Next, we're told that 8 fifty-cent coins were exchanged for twenty-cent coins. This means that:

- 8 fifty-cent coins were taken out of the box
- 8 twenty-cent coins were put into the box

After this exchange, the number of fifty-cent coins became 4/7 the number of twenty-cent coins. This means that:

x - 8 = (4/7)(y + 8)

We can substitute y in terms of x from the first equation to get:

x - 8 = (4/7)((1/3)x + 8)

Simplifying this equation, we get:

x - 8 = (4/21)x + (32/7)

Multiplying both sides by 21 to eliminate fractions, we get:

21x - 168 = 4x + 96

Solving for x, we get:

x = 18

Now we can use this value of x to find y:

y = (1/3)x = 6

This means there were originally 18 fifty-cent coins and 6 twenty-cent coins in the box, for a total of $9.60:

18 x $0.50 = $9.00
6 x $0.20 = $1.20

Therefore, the answer is $9.60.

original:

number of 20 cent coins --- x
number of 50 cent coins ---- 3x

after removal:
number of 50 cent coins = 3x-8
8 of the 50 cent coins = 20 of the 20 cents coins, so
number of 20 cent coins = x + 20

number of 50 cent coins = (4/7) of the 20 cent coins
3x - 8 = (4/7)(x + 20)
21x - 56 = 4x + 80
17x = 136
x = 8

So originally we had 20 cent coins = 160 cents
and 24 of the 50 cent coins = 1200 cents

so total was 1360 cents

We are not told what the denomination is other than cents, nothing was
mentioned in terms of $'s

Oops, my apologies. I made an incorrect assumption that the denomination was in dollars.

Based on your working, it seems that the denomination is indeed in cents. So the final answer would be 1360 cents, as you've correctly calculated.

Thank you for catching my mistake!

Let's break down the problem step-by-step:

Step 1: Represent the number of fifty-cent coins as "x".
Step 2: According to the problem, the number of twenty-cent coins is 1/3 the number of fifty-cent coins, so we can represent the number of twenty-cent coins as (1/3)x.
Step 3: Initially, the total value of the fifty-cent coins in the box is 50 cents times "x" (50x), and the total value of the twenty-cent coins is 20 cents times (1/3)x (20/3)x.
Step 4: 8 fifty-cent coins were taken out and exchanged for twenty-cent coins, so the number of fifty-cent coins left in the box is x - 8, and the number of twenty-cent coins is now (1/3)x + 8.
Step 5: According to the problem, the number of fifty-cent coins left is 4/7 times the number of twenty-cent coins, so we can set up the following equation: (x - 8) = (4/7)((1/3)x + 8).
Step 6: Simplify the equation by multiplying both sides by 7 to get rid of the fraction: 7(x - 8) = 4((1/3)x + 8).
Step 7: Expand and simplify the equation: 7x - 56 = (4/3)x + 32.
Step 8: Multiply both sides of the equation by 3 to get rid of the fraction: 21x - 168 = 4x + 96.
Step 9: Simplify the equation: 21x - 4x = 168 + 96.
Step 10: Combine like terms: 17x = 264.
Step 11: Divide both sides of the equation by 17: x = 264/17.
Step 12: Now that we know the value of x, we can substitute it back into one of the original expressions to find the number of twenty-cent coins: (1/3)(264/17).
Step 13: Simplify the expression: (1/3)(264/17) = 88/17.
Step 14: Finally, to find the total value of all the coins in the box, we need to multiply the number of fifty-cent coins and their value and add it to the number of twenty-cent coins and their value: 50(264/17) + 20(88/17).

So, the total amount of money in the box is 50(264/17) + 20(88/17).