Hi
Ill try to describe my problem in a simple way:
I have a stopwatch set to X seconds.
Every second this happens:
- Y amount of water is automaticaly being put intoo a transparent ContainerA.
- I then take a bucket and fill it with the exact amount of water in ContainerA, and pour the entire bucket intoo ContainerB.
...
After X secounds, how much water is in ContainerB?
( Y can be Integer or Decimal )
Thank you Reconer!
Thats seems to be working correctly.
...
However if i add yet another Container C like this:
I have a stopwatch set to X seconds.
Every second this happens:
- Y amount of water is automaticaly being put intoo a transparent ContainerA.
- I then take a bucket and fill it with the exact amount of water in ContainerA, and pour the entire bucket intoo ContainerB.
- I then take a bucket and fill it with the exact amount of water in ContainerB, and pour the entire bucket intoo ContainerC.
...
After X secounds, how much water is in ContainerC?
( Y can be Integer or Decimal )
Sure. If you're interested, the coefficients in each column of the table are called figurate numbers - the third column is the sequence of triangular numbers, the fourth column is the sequence of tetrahedral numbers, and the numbers produced by the generalized formula I gave are called -simplex numbers (a simplex being a generalization of triangles and tetrahedrons to dimensions).