If a particle is executing SHM on a straight line. A and B are two points at which its velocity is zero. It passes through a certain point P (AP<PB) at successive intervals of 0.5 sec and 1.5 sec with a speed of 3 m/s. The maximum speed of the particle is