\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A particle starts from rest at the origin and moves along a straight line. Its acceleration is given by \(a(t) = \cos(\frac{\pi}{4}t)\) m/s\(^2\), for \(t \ge 0\).
  1. Find the velocity function \(v(t)\) of the particle.
  2. What is the maximum speed of the particle?
  3. Find the total distance travelled by the particle in the first 4 seconds.

Capture an image of your work. AI teacher feedback takes approximately 10 seconds.