Question: when are the velocity and acceleration in the same direction in shm?
Answer: When a particle executing SHM Is moving from extreme position towards mean position, then the velocity and acceleration are in the same direction,i.e., towards the mean position.