This is a simple example of linear interpolation between two points, also known as a Linear Bezier Curve:
It follows this formula:
In response to this thread:
It may be useful to other people for dead reckoning, or simple for smooth movement between points, given a time interval.
Left click the screen and the ball will move to the cursor.