In the fig. (given below), the points A and B, 10 cm apart, are the extreme positions of the particle in SHM, and the point O is the mean position. The direction from A to B is positive, as indicated.
(a) At the end A, i.e., extreme position, velocity is zero, acceleration and force are directed towards O and are positive.
(b) At the end B, i.e., second extreme position, velocity is zero whereas the acceleration and force are directed towards the point O and are negative.
(c) At the mid point O, while going towards A, velocity is negative and maximum. The acceleration and force both are zero.
(d) At 2 cm away from B, that is, at C and going towards A: v is negative; acceleration and F, being directed towards O, are also negative.
(e) At 3 cm away from A, that is, at D and going towards B: v is positive; acceleration and F, being directed towards O, are also positive.
(f) At a distance of 4 cm away from A and going towards A, velocity is directed along BA, therefore, it is positive. Since acceleration and force are directed towards OB, both of them are positive.