A block A of mass m connected with a spring of force constant k is executing SHM. The displacement time equation of the block is x=x0=asinωt. An identical block B moving towards negative x -axis with velocity v0 collides elastically with block A at time t=0. Then