# Help with filling container simulation

Hi everyone, I'm trying to create a filling container simulation and plotting the function that correlate height and time. To do that I created the "container" and put two points on the "walls" that travel up to the top until reach the top of the container, the points follow an formula speed defined by (x(D)-x(A)-2)/x(J)-x(I), this formula is used to simulate the slow filling in the middle of the container, the time is calculated through the formula: PathParameter(J)*9.42/ {speed of the two points}, 9.42 is the total length of the semi circle (this is the way that I found to measure the distance traveled by the points). However the result wasn't as I expected I'll insert an image here to clarify what is happen, hope someone could help me.

Thanks in advance.

Please post your .ggb file

Anyone? please x_x

Loading...Comments have been locked on this page!