import math


def rms_mean(elements):
    """
    A function to calculate the root mean squared mean value of a list of elements
    :param elements: a list of elements
    :return: root mean squared mean value
    """
    return math.sqrt(sum(x * x for x in elements) / len(elements))