import math


def Urms_calc(ua,ub,uc):
    """Function to calculate rms value of scalar phasor quantities."""
    
    return math.sqrt((pow(abs(ua),2)+pow(abs(ub),2)+pow(abs(uc),2))/3.0)/math.sqrt(2)