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?