An alternating current is given by the equation i=i1 cos ωt+i2 sin ω t. The r.m.s. current is given by