Let a quadric $ax^2+2bxy+cy^2+dx+ey+f=0$ touches the plot of $y=\cos(x)$ at the point $(0,1)$ with multiplicity $n$. What is the maximum possible value of $n$? Recall that a joint point $P$ of parametrized curves $r_1(t)$ and $r_2(t)$ is said to be a tangent point of multiplicity $n$ if the first $n$ derivatives of $r_1(t)$ and $r_2(t)$ at the point $P$ are equal.
PS. That was asked as one of the problems of a student mathematical olimpiad in Russia. The author gives general directions and the answer $n=5$.
By symmetry the quadric we are looking for has an apex at $(0,1)$, whereby a parabola $y=1- p x^2$ obviously won't do. Therefore the equation of this quadric will be of the form $a x^2+ c y^2 +e y + f=0$ with $c\ne0$. Solving for $y$ and taking care of $y(0)=1$ we obtain an expression of the form $$y(x)=1\pm\bigl(\sqrt{q^2 + r x^2} -q\bigr)$$ with $q\geq0$ and $r$ to be determined such that $$y^{(k)}(0)=\cos^{(k)}(0)\qquad(0\leq k\leq n)\tag{1}$$ and $n$ as large as possible. Doing the computation one finds that the hyperbolic arc $$y(x)=4-\sqrt{9+3x^2}$$ and no other quadric satisfies $(1)$ with $n=5$. Since for this arc one has $$y(x)=1-{x^2\over2}+{x^4\over24}-{x^6\over144}+\ {\rm higher\ terms}$$ it follows that $(1)$ cannot be satisfied with $n=6$. Therefore $n=5$ is indeed the maximal order of kissing between a quadric and the cosine curve at $(0,1)$.