function y = temp_calc2(x)
LEVEL = x(1); % level tangki [mm]
TEMP = x(2); % temperature [C]
Rt = 26; % room temperature [C]
if LEVEL == 0
    y = Rt; 
else
    y = TEMP;
end
