What is the integral of #int (cos(x)/sin(x)-1)dx#?