An alternating voltage V=30 sin50t+40 cos50t is applied to a resistor of resistance 10 Ω. The rms value of current through resistor is: