writing on the focusing of wavepacket(not finished)