\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=-5.600000000000003,
xmax=11.480000000000004,
ymin=-2.819999999999998,
ymax=4.899999999999998,
xtick={-5.0,-4.0,...,11.0},
ytick={-2.0,-1.0,...,4.0},]
\clip(-5.6,-2.82) rectangle (11.48,4.9);

\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=-5.0:-3.0)] plot (\x,{(-0.0025*(\x)^3+-0.1875*(\x)^2+-2.3775*(\x)+-3.5125)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=-3.0:-2.0)] plot (\x,{(-0.53*(\x)^3+-4.92*(\x)^2+-16.53*(\x)+-17.62)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=-2.0:-1.0)] plot (\x,{(0.79*(\x)^3+5.16*(\x)^2+7.95*(\x)+1.58)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=-1.0:2.0)] plot (\x,{(-0.00481*(\x)^3+0.22222*(\x)^2+0.45889*(\x)+-1.76815)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=2.0:3.0)] plot (\x,{(1.02*(\x)^3+-6.43*(\x)^2+14.77*(\x)+-11.98)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=3.0:4.0)] plot (\x,{(-0.27*(\x)^3+0.97*(\x)^2+5.2*(\x)+-15.04)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=4.0:7.0)] plot (\x,{(0.00259*(\x)^3+-0.26111*(\x)^2+1.96444*(\x)+0.15407)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=7.0:9.0)] plot (\x,{(0.1725*(\x)^3+-3.8125*(\x)^2+26.7075*(\x)+-57.3075)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=0.5pt,domain=9.0:11.0)] plot (\x,{(-0.0575*(\x)^3+2.1675*(\x)^2+-25.0425*(\x)+91.7325)/1.0}););

\begin{scriptsize}
\draw [color=black] (-5.,4.)-- ++(-1.5pt,0 pt) -- ++(3.0pt,0 pt) ++(-1.5pt,-1.5pt) -- ++(0 pt,3.0pt);
\draw [color=black] (11.,2.)-- ++(-1.5pt,0 pt) -- ++(3.0pt,0 pt) ++(-1.5pt,-1.5pt) -- ++(0 pt,3.0pt);
\draw[color=black] (-3.34,4.21) node {$y=f(x)$};
\end{scriptsize}
\end{axis}
\end{tikzpicture}