At origin, the value of the function is
and then it again becomes zero for the first time is at $2$
but the function isn't repeating itself (it's going downwards)
at $x=4$, it's exactly same, hence the period is $4$
5.3m questions
6.9m answers