<human>:  Python function to write code for an rms average equation.
<bot>:)

# Enter the number of samples
n = 10

# Calling the function
print((rms_average(x, n)))

#Example Output
# 6.2048368229954285

#Remember to inspect code for bugs.