Algorithm to find the train's location and velocity?

AI Thread Summary
The discussion revolves around finding an algorithm to determine a train's location and velocity on an infinite integer axis, given limited information. The train's position can only be checked at specific integers, and the function used returns whether the train is at a given integer at a specific time. Participants express confusion about the mechanics of the problem, particularly how to derive the train's position and speed without additional data. A suggestion is made to utilize the implicit function theorem to relate position and time, but the lack of information about the train's initial conditions complicates the solution. Overall, the challenge lies in developing an effective strategy to locate the train based solely on integer checks.
Eleanor
Messages
2
Reaction score
0
:confused:
I'm a silent viewer of this forum, and I came across a question I don't seem to manage...:
A train is traveling along the Z axis (infinite on both sides). You have no information as of the train's direction or speed. At each time unit the train lends on a number. At each time unit you can look at a number and find whether the train lands on it.
What can be the algorithm to find the train's location and velocity?
 
Mathematics news on Phys.org
"A number"? Unless the numbers are somehow related to position you can't. If you are talking about a "number line" in which the numbers are in order, then the postion is given by the number and the speed the difference between two numbers "landed on" in consecutive time units, divided by the length of one time unit.
 
Eleanor, I'm not sure any of us follow what's happening here with these numbers. Would you like to try explaining once more, perhaps more descriptively ?
 
I'll try and make myself clearer

Sorry...
By numbers I meant integers, or the Z group. Imagine that the train rail is the axis of integers, running to infinite on both sides.
You have no information as to were the train is, what is its velocity or direction.
You have a function that checks whether the train currently passes through a specific integer. The function returns yes or no only.
The only information you have is that the train must be on an integer at any such check, meaning the train can't be between two integers at the time of the check.
Hope I've managed to explain myself...
Naturally I'm familiar with the formula for velocity, but the problem here (my problem...) is to find the train. And then find it again.
 
You seem to be saying that there exist a function, f(x,t), that, given a time t and postion x, returns "true" if the train is at position x at time t and no if it doesn't. What one would, theoretically do, is use the "implicit function" theorem to determine x as a function of t. How you would do that depends upon the function x.

Knowing that the train MUST be at an integer at some times t doesn't really help at all.
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
2
Views
2K
Replies
2
Views
1K
Replies
60
Views
5K
Replies
11
Views
3K
Replies
2
Views
4K
Replies
5
Views
2K
Replies
58
Views
6K
Replies
4
Views
1K
Back
Top