
function rmsValue = rmsFunction(x, y)
% This function takes in two parameters x and y, computes their
% root-mean-square (RMS) value and returns it

rmsValue = sqrt((x^2 + y^2)/2);

end