A toy cannon uses a spring to project a 5.40 g soft rubber ball. The spring is originally compressed by 5.09 cm and has a force constant of 7.97 N/m. When the cannon is fired, the ball moves 15.3 cm through the horizontal barrel of the cannon, and there is a constant frictional force of 0.0322 N between the barrel and the ball.
a) At what point does it have its max speed?
b) What is the max speed?