%% 
%%  A DANTE-Edition example
%% 
%%  Example 20-01-15 on page 309.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{201.70511pt}
\setlength\parindent{0pt}

\usepackage{pst-coil}

\begin{document}
\begin{pspicture}(\linewidth,2)
\pssin[linecolor=blue](0,1)(\linewidth,1)
\pssin[function=dup sin mul cos,
  linecolor=red,ppoints=10000,
  periods=6](0,1)(\linewidth,1)
\end{pspicture}
\end{document}
