Post Reply 
dynamical list problem
01-04-2019, 08:51 AM
Post: #13
RE: dynamical list problem
Hello all,

I'm not shure if everybody (or more worse for me, that I understand everybody else right) understand right: The numbers in the list are distances between places. Of course it is possible to calculate for every time step (e. g. 1 second) a speed, but I want to have average value of speed let us say for 5 (meters).

{1 2 1 3 2} -> {{1 2 1 1} {2 1 2} {1 3 1} {3 2}} These four lists contain all a way of 5 meters, but with different times of walking:

{1 2 1 1} needs 3 + 1/3 seconds v = 3/2 m/s
{2 1 2} needs 2 + 2/3 seconds v = 15/8 m/s
{1 3 1} needs 2 + 1/2 seconds v = 2 m/s
{3 2} needs 2 seconds v = 5/2 m/s

The fraction of seconds have their reason in the fourth value of the original list is a big one: 3 and that value can be divided in 1 + 2, 2 + 1.

And that might be the solution I looked for: for every new value in the list, must be calculate how far I have to go back in the original list to get 5 m and then how many time steps it affords. Then the now speed value has to be compared with last maximum value.
Find all posts by this user
Quote this message in a reply
Post Reply 


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)