Usually I would hand out a worksheet on calculating when a function is closest to a point and have students complete 10-12 questions. This year, I took the a different approach by bringing Super Mario Brothers in my class.
Using this picture,
Using Calculus, and geogebra you can calculate the path of Yoshi and the co-ordinate of the top level to get:
From here we calculated the equation of the parabola, and a distance function based on any point (x, f(x)) on the function. Ultimately, we calculated the closest distance Yoshi comes to the point, and when to double jump to get the coin.
Students enjoyed this more than completing the 10 questions on the worksheet. Feel free to use and fix as you see fit.