int sinx form x=0 to 2pi