We need the limits to provide r=0 or cos(5x) =0 so:
5x = pi/2 --> x = pi/10
5x = 3pi/2 --> x = 3pi/10
So the limits should be pi/10 to 3pi/10. I am hoping that this answer has satisfied your query and it will be able to help you in your endeavor, and if you would like, feel free to ask another question.