periodic function of sin is 2pi