The grey function is y=-tan(x-h)+kWhen h=0 and k=0, the function matches the central part of the graph of the point on the conveyor belt.Can you change h and k to make it match the paths of the upper and lower points?

App generated by Geometry Expressions