∫dx/sinx
=∫dx/[2six(x/2)cos(x/2)]
=∫dx/[2six(x/2)/cos(x/2)*cos^2(x/2)]
=∫dtan(x/2)/tan(x/2)
=ln|tan(x/2)|+lnC