Making a piecewise function continuous

This particular function is based on problem 46 from section 1.8 of Stewart's Calculus. Use the sliders to find values for a and b which make the function continuous. Note: While this illustrates the underlying geometry of the problem, you will ultimately want to master an algebraic approach based on setting up equations.