In this example, b = 10, so the period is 2π/10 = π/5. To draw 2 cycles, we will need from 0 to 2π/5 along the x-axis.
Note that one cycle has period 2π/10 = 0.628 and there will be 10 cycles between 0 and 2π.