dynamical list problem

01032019, 09:15 PM
Post: #12




RE: dynamical list problem
(01032019 05:18 PM)Albert Chan Wrote: This only work with integer speed numbers. You can scale up a list like { 1 2 1 2.5 2 } to { 2 4 2 5 4 }. In general you would integrate the velocity \(v(t)\) and set it equal to 5: \(\int_t^{t+\Delta t} v(\tau)d\tau=s(\tau)\vert_t^{t+\Delta t}=s(t+\Delta t)s(t)=5\) And then for a given \(t\) solve for \(\Delta t\). The average velocity for these 5 meters would then be: \(\bar{v}(t)=\frac{5}{\Delta t}\) You could either use linear functions or splines to approximate the velocity. Or then just use locally constant functions as in the approach I suggested. This makes solving for \(\Delta t\) rather easy. Cheers Thomas 

« Next Oldest  Next Newest »

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