I am trying to find the time of greatest solar eclipse for the forthcoming Eclipse on August 21st.
I have 2 polynomials
$$x = at^3+bt^2+ct+d \\ y = et^3+ft^2+gt+h$$
$a,b,c,d,e,f,g,h$ are constants published by NASA and $t$ is the time of the eclipse
Numeric differentiation gives
$$dx = 3at^2+2bt+c \\ dy = 3et^2+2ft+g$$
Now... the maximum eclipse is when the shadow cone is nearest to the origin on the fundamental plane which is simply when minimum of $\sqrt{x^2+y^2}$
I would like to use a method like Newton Raphson... but I have no idea how I get $d/dt$ of $\sqrt{x^2+y^2}$
Please can someone point me in the right direction. Thanks in advance
$$\frac{\mathrm{d}}{\mathrm{d}t} \sqrt{x^2 + y^2} = \frac{1}{2\sqrt{x^2+ y^2}}\left(2x\frac{\mathrm{d}x}{\mathrm{d}t}+2y\frac{\mathrm{d}y}{\mathrm{d}t}\right)$$