By " sliding nomally" I mean that the axis of the parabola is normal to the tangent to the $ f(x)= 3 cos(x/3)$ curve at point $(a, f(a))$.
The question seems to amount to doing 3 things
(1) translating the coordinate system to the new center $(a, f(a))$, which yields :
$$y-f(a) = (x-a) ^2$$
(2) rotating the coordinate system centered at $(a, f(a))$ by an angle $\alpha = arctan ( f'(a))$, and rewriting the parabola in this rotated system :
$$(y- f(a)) cos(\alpha) - (x-a) sin(\alpha) = [ (x-a) cos (\alpha) + (y-f(a)) sin (\alpha) ] ^2 $$
(3) rewriting $y= x^2$ in the original coordinate system :
$$(y- f(a)) cos(\alpha) - (x-a) sin(\alpha) + \underline {f(a)} = [ (x-a) cos (\alpha) + (y-f(a)) sin (\alpha) + \underline{a} ] ^2 $$
But this does not work. The orientation of the transformed parabola is apparently OK, but the location of the vertex is not as desired. Where does my reasoning go wrong?
I aimed at following the procedure discribed in this post How to rotate curve around a point.
Desmos link https://www.desmos.com/calculator/ijk9l2shqr

