Você está na página 1de 1

\documentclass[10pt]{article}

\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}
\definecolor{ffqqqq}{rgb}{1.,0.,0.}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\begin{axis}[
x=1.0cm,y=1.0cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
xmin=-8.164580971245117,
xmax=10.34508366914827,
ymin=-2.532172665801519,
ymax=5.404443685540612,
xtick={-8.0,-7.0,...,10.0},
ytick={-2.0,-1.0,...,5.0},]
\clip(-8.164580971245117,-2.532172665801519) rectangle
(10.34508366914827,5.404443685540612);
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line
width=2.pt,color=ffqqqq,fill=ffqqqq,fill opacity=0.5,domain=-5.0:5.0)] plot (\x,
{(\x)^2/2/0.5});
\draw (1.9713387063725163,3.901814083737455) node[anchor=north west] {$y=x^2$};
\begin{scriptsize}
\draw[color=ffqqqq] (-0.6924137695512553,1.1219493204016138) node {$c$};
\end{scriptsize}
\end{axis}
\end{tikzpicture}
\end{document}

Você também pode gostar