function y = RMS_calc(x)
% Computing the RMS
T = x(1);
V = x(2);
if T <= 0
    y = 0;
else
    y = sqrt(V/T);
end

