I am drawing an elliptic curve on LaTeX using tikzpicture. I have got the graph on the picture, the curve is defined at -2 but I don't know why the graph is not finished.
Here there is the code:
\begin{tikzpicture}
\begin{axis}[
xmin=-4,
xmax=5,
ymin=-5,
ymax=5,
xlabel={$x$},
ylabel={$y$},
scale only axis,
axis lines=middle,
domain=-1.912931:3,
samples=200,
smooth,
clip=false,
% use same unit vectors on the axis
axis equal image=true,
]
\addplot[blue] {sqrt(x^3-3*x+5)} node[right] {$E$};
\addplot[blue] {-sqrt(x^3-3*x+5)};
\coordinate[label={10:$P$}] (P) at (axis cs:-1,2.64);
\end{axis}
\end{tikzpicture}



x=-2the valur of your function issqrt{3}which is approximately 1,7320508075688772935274463415059 ..., so your result on selected domain is complete. – Zarko Dec 22 '17 at 21:11