ich bin blutiger LaTex/tikZ Anfänger und versuche gerade einen Funktionsgraphen zu zeichnen.
Soweit hat es ganz gut geklappt, nun aber muss ich den Funktionsgraphen von
f(x) = {x^2+2x^2} \ 2 darzustellen.
Nun weis ich aber nicht, wie man einen Bruch in tikZ(oder überhaupt) in einem Plotter darstellt.
Bisher hab ich es mal so versucht
%
	\draw[blue,domain=-1.1:1.1] plot (\x,{((\x)^2+(2*\x)^2})\(2)})
%
\begin{center}
	\begin{tikzpicture} 
	\draw[black,domain=-2.4:2.4] plot (\x, {(\x)^2}) node 	[right]{$f(x)=x^2$};
	\draw[red,domain=-1.2:1.2] plot (\x, {(2*\x)^2}) node 	[right]{$f(x)=2x^2$};
	\draw[green,domain=-1.1:1.1] plot (\x,{((\x)^2+(2*\x)^2})\(2)}) node 	[right]{$f(x)=x+y$};
   	\draw[lightgray,very thin](-3.2,-0.5) grid (3.2,5.5);
    \draw[->](-3.2,0) -- (3.2,0) node [right]{$x$};
		\foreach \x in {-3,...,3}
	\draw[xshift =\x cm] (0,2pt) -- (0,-2pt) node [below,fill=white]{$\x$};
		\draw[->](0,-0.5) -- (0,5.5) node[above]{$y$};
	\foreach \y in {0,...,5}
	\draw[yshift=\y cm] (2pt,0) -- (-2pt,0) node[left,fill=white] {$\y$};
	
	\end{tikzpicture}
\end{center}
 Grüße
Milo


