What is the positive value of $k$ for which the graph $y=x^2-2kx +16$ is tangent to the x-axis?
My approach to solving this question is to use vertex form to find the value of $x$. Once I have that, I can substitute that value to find the value of $k$, which is $4$.
If I try to apply that same method to this question,

I get $p=4\sqrt{3}$. The correct answer is $p = 6$. What is wrong with the way I applied my method?
In the second problem, the graph is not tangent to the $x$-axis. Instead, since the lowest point of the rope is at a height of $1$, the graph is tangent to the line $y=1$. You could use the same method to solve this problem, but you would need to subtract $1$ from the quadratic first to make it tangent to the $x$-axis.