int sinx from pi to 2pi