%% Created by Maple 9.5, Linux
%% Source Worksheet: Untitled (1)
%% Generated: Thu Apr 06 13:10:15 CDT 2017
\documentclass{article}
\usepackage{maplestd2e}
\def\emptyline{\vspace{12pt}}
\DefineParaStyle{Maple Heading 4}
\DefineParaStyle{Maple Heading 2}
\DefineParaStyle{Maple Text Output}
\DefineParaStyle{Maple Bullet Item}
\DefineParaStyle{Maple Warning}
\DefineParaStyle{Maple Error}
\DefineParaStyle{Maple Dash Item}
\DefineParaStyle{Maple Heading 3}
\DefineParaStyle{Maple Heading 1}
\DefineParaStyle{Maple Title}
\DefineParaStyle{Maple Normal}
\DefineCharStyle{Maple 2D Input}
\DefineCharStyle{Maple Maple Input}
\DefineCharStyle{Maple 2D Output}
\DefineCharStyle{Maple 2D Math}
\DefineCharStyle{Maple Hyperlink}
\begin{document}
\pagestyle{empty}
\begin{mapleinput}
\mapleinline{active}{1d}{\begin{Maple Normal}\QTR{Maple Maple Input}{}\QTR{Maple Maple Input}{p := x -\TEXTsymbol{>} piecewise(x<-2, (x+4)\symbol{94}2-4 ,x\TEXTsymbol{>}=-2 and x<=2, 4-x\symbol{94}2, x\TEXTsymbol{>}2, (x-4)\symbol{94}2 - 4); }\end{Maple Normal}}{}
\end{mapleinput}

\mapleresult
\begin{maplelatex}
\QTR{Maple 2D Output}{\mapleinline{inert}{2d}{p := proc (x) options operator, arrow; piecewise(x < -2, (x+4)^2-4, -2 <= x and x <= 2, 4-x^2, 2 < x, (x-4)^2-4) end proc}{%
\[
p\, := \,x\mapsto \cases{ \left( x+4 \right) ^{2}-4&$x<-2$\cr 4-{x}^{2}&$-2\leq x$\  and \ $x\leq 2$\cr  \left( x-4 \right) ^{2}-4&$2<x$\cr}
\]
}
}

\end{maplelatex}
\begin{mapleinput}
\mapleinline{active}{1d}{\begin{Maple Normal}\QTR{Maple Maple Input}{}\QTR{Maple Maple Input}{plot(p(x),x=-4..4,color=green, thickness=2);}\end{Maple Normal}}{}
\end{mapleinput}

\mapleresult
\begin{center}
\mapleplot{paraflipplot1.eps}


\end{center}
\begin{mapleinput}
\mapleinline{active}{1d}{\begin{Maple Normal}\QTR{Maple Maple Input}{}\QTR{Maple Maple Input}{}\end{Maple Normal}}{}
\end{mapleinput}

\end{document}
%% End of Maple 9.5 Output