Adjust the sliders for h and k to translate the function horizontally and vertically. The translated function g(x) takes the form g(x) = f(x - h) + k. Point A corresponds to A' on the translated function, as do points B and B'; points A and B can be dragged along the function f(x).