A particle starts from the origin at t=0 with a velocity that varies with time as v=8−4t (in m\,s−1), valid for 0≤t≤5s. After t=5s, the velocity remains zero for all later times.
(i) Find the maximum positive displacement reached by the particle relative to the origin.
(ii) Determine the position of the particle (displacement from the origin) at t=7s.