The electric current in a circuit is given by i=i0(tπ) for some time. Calculate the rms current for the period t=0 to t=π.