Motion problems: finding the maximum acceleration