Given a straight line with some distance, a fixed rate of acceleration/deceleration, and a time, find the velocity needed I have a path which is a straight line with some distance d.
I have a particle which is at position 0 in the line, with a resting velocity of 0 m/s. The particle has a fixed rate of acceleration at 2 m/s^2 (this rate is set to 0 once a desired velocity has been reached). The particle has a deceleration rate of -2 ms/s^2 as well.
The time taken for the particle to straight moving, maintain some velocity, and come back to a velocity of 0 after d meters have been traversed is fixed.
I am trying to solve for the velocity that the particle must accelerate to, along with the points in time where the particle needs to stop accelerating, and the point where the particle needs to begin decelerating.
When approaching this problem I can divide distance by time, and get the velocity that would be maintained if the point could instantaneously accelerate to a given velocity, and instantaneously stop at the end.
I then am trying to adjust this by accounting for the time needed to reach the desired velocity, and the time needed to return to 0 from that desired velocity. Am I on the right track here in solving this problem?

You can draw a line AB, then draw points AC and DB, where AC = DB, which is the distance between the point where the particle starts accelerating to the point where it reaches max speed (same thing for deceleration). So, CD would be the distance it travels at maximum speed.
AC and DB would be:
$t(t-1)$ Since the distance that the particle travels every second is a series of arithmetic progression (0 + 2 + 4 + 6 + 8 +...).
$ S = \frac{t(t-1)*2}{2}$
So if you want to reach to the desired velocity and decelerate at the same rate, you would nee a distance of at least $2*(t^2 - t)$, and the distance it remains top speed at is $x - 2*(t^2 - t)$
