An alternating current is given by the equation, i=i1sinωt+i2cosωt. The RMS value of current will be :