Piecewise-defined functions are continuous everywhere except, possibly, at the points where they change formula. The verification is done by comparing the one-sided limits with the value of the function; when parameters appear, this condition allows them to be determined.