dynamical list problem
01-05-2019, 12:54 PM (This post was last modified: 01-05-2019 01:03 PM by Thomas Klemm.)
Post: #18
 Thomas Klemm Senior Member Posts: 1,806 Joined: Dec 2013
RE: dynamical list problem
(01-04-2019 02:34 PM)Albert Chan Wrote:  It might help calculations if list is travelled (time distance):

{1 2 1 3 2} => {(0 0) (1 1) (2 3) (3 4) (4 7) (5 9)}

For speed of any distance, just interpolate for the time.

We can extend this table a bit to make sure that the difference between the travelled distance is 1m:

$$\begin{matrix} \textbf{time } t & \textbf{distance } s(t)\\ 0 & 0 \\ 1 & 1 \\ 1\frac{1}{2} & 2\\ 2 & 3 \\ 3 & 4 \\ 3\frac{1}{3} & 5 \\ 3\frac{2}{3} & 6 \\ 4 & 7 \\ 4\frac{1}{2} & 8 \\ 5 & 9 \end{matrix}$$

And then calculate the difference of the times that are 5 meters apart:

$$\begin{matrix} 3\frac{1}{3} &- & 0 &=& 3\frac{1}{3} \\ 3\frac{2}{3} &- & 1 &=& 2\frac{2}{3} \\ 4 &- & 1\frac{1}{2} &=& 2\frac{1}{2} \\ 4\frac{1}{2} &- & 2 &=& 2\frac{1}{2} \\ 5 &- & 3 &=& 2 \end{matrix}$$

Either calculate the partial sum of the times (as suggested by Albert) and then calculate the difference or then add up 5 time entries (as I suggested).
You will end up with the same result.

Cheers
Thomas
 « Next Oldest | Next Newest »

 Messages In This Thread dynamical list problem - peacecalc - 01-02-2019, 04:36 PM RE: dynamical list problem - grsbanks - 01-02-2019, 06:08 PM RE: dynamical list problem - BruceH - 01-02-2019, 06:47 PM RE: dynamical list problem - peacecalc - 01-02-2019, 07:14 PM RE: dynamical list problem - pier4r - 01-03-2019, 11:56 AM RE: dynamical list problem - Albert Chan - 01-03-2019, 12:57 PM RE: dynamical list problem - peacecalc - 01-03-2019, 02:11 PM RE: dynamical list problem - Albert Chan - 01-03-2019, 03:13 PM RE: dynamical list problem - peacecalc - 01-03-2019, 04:25 PM RE: dynamical list problem - Thomas Klemm - 01-03-2019, 04:44 PM RE: dynamical list problem - Albert Chan - 01-03-2019, 05:18 PM RE: dynamical list problem - Thomas Klemm - 01-03-2019, 09:15 PM RE: dynamical list problem - peacecalc - 01-04-2019, 08:51 AM RE: dynamical list problem - BruceH - 01-04-2019, 01:21 PM RE: dynamical list problem - Albert Chan - 01-04-2019, 02:34 PM RE: dynamical list problem - Thomas Klemm - 01-04-2019, 11:57 AM RE: dynamical list problem - peacecalc - 01-05-2019, 09:48 AM RE: dynamical list problem - Thomas Klemm - 01-05-2019 12:54 PM RE: dynamical list problem - DavidM - 01-05-2019, 05:13 PM RE: dynamical list problem - Thomas Klemm - 01-05-2019, 07:45 PM RE: dynamical list problem - John Keith - 01-07-2019, 04:55 PM RE: dynamical list problem - Thomas Klemm - 01-07-2019, 08:29 PM

User(s) browsing this thread: 1 Guest(s)