TeX source:
Ax\cos kx+Bx\sin kx