I have an object that can accelerate at a known rate and decelerate at a different known rate that needs to cover a known distance as quickly as possible.
It must start and end stationary so it would have to accelerate at its acceleration rate for a certain (unknown) distance and then immediately start decelerating at its deceleration rate for the rest of the journey.
How can I work out the time the whole journey would take?