function y = root_mean(x)
format long
time = x(1);
SquareError = x(2);
if time == 0
    y = 0;
else
    MeanSquareError = (1/time)*SquareError;
    RMSE = (sqrt(MeanSquareError));
    y = real(RMSE);
end

