two intervals const a p2

  • Velocity v(t)={v0+a0(tt0),t0t<t1,v1+a1(tt1),t1t<t2,(D2)\tag{D2} v(t) = \left\{ \begin{array}{cc} v_0 + a_0(t - t_0), & t_0 \le t < t_1, \\[0.5em] v_1 + a_1(t - t_1), & t_1 \le t < t_2, \end{array} \right. with tn+1=tn+τnt_{n+1} = t_n + \tau_n, where τn\tau_n is nn-th time interval.
  • Initial conditions
    • v(t0)=v0v(t_0) = v_0,
    • v(t1)=v1v(t_1) = v_1 and v(t1)=v0+a0(t1t0)v(t_1) = v_0 + a_0(t_1 - t_0).