<gh_stars>1-10
\label{problemmaxminx^3-x^2-x+1over[-1,1]}
$f(x)=x^3-x^2-x+1,$  $x\in [-1,1]$.

\psset{xunit=2cm, yunit=2cm}
\begin{pspicture}(-1.5,-0.5)(1.5,1.5)
\tiny
\fcAxesStandard{-1.5}{-0.5}{1.5}{1.5}
\psplot[linecolor=red]{-1}{1}{x x x mul mul x x -1 mul mul -1 x mul 1 add add add}
\fcXTickWithLabel{1}{$1$}
\fcYTickWithLabel{1}{$1$}
\end{pspicture}