A wave pulse is generated in a string that lies along x-axis. At the points A and B