The function f is continuous on the intervals [1,3] and (3,5