In an AC circuit, supply voltage \( V_{\text{rms}} = 1000\,\text{V} \), \( R = 80\,\Omega \), \( X_L = 80\,\Omega \), and source frequency \( f = 50\,\text{Hz} \). Find the power factor.