Source TeX:
f(x)=\dfrac{\sin(2x)}{(x-1)\cos(2x)}