1

I try to plot quadratic fonction.

\documentclass{article}
\usepackage{tikz}

\begin{document}
bad, negative square equal...negative!


\begin{tikzpicture}
\draw plot (\x,\x^2/4/1.0);
\end{tikzpicture}

good
\begin{tikzpicture}
\draw plot (\x,\x*\x/4/1.0);
\end{tikzpicture}
\end{document}

I found a solution, but why this surprising result? Is there a way to use the square function?

Browse other questions tagged or ask your own question.