My question is while calculating RMS value, should I decide to

**determine the period**by looking a) or b) graph?

Because, while I'm looking for the a. graph (shown above), I guessed the period is 2pi

However, if I would consider the square of the graph (graph b), as far as I see that the period seems to be the only pi

So, is the period's value gonna be pi or 2pi?

I really wondered about it while I was studying RMS calculations...