\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{epsfig}


\textheight= 9in 
\textwidth=5in
\parindent =0pt
\hsize = 4in
%\voffset = 1 in
%\hoffset= 1 in
\parindent = 0pt
\parskip = 0.2cm
\tolerance = 10000
\input{../../newcomm}

\begin{document}
\bibliographystyle{plain}

{\bf  CAGD}  \hfill \today
\hrule
{\bf G. Farin }
\vskip 1cm
\begin {center} {\bf Programming  assignment \#3 }\\
{\em due 4-17}\\
\end {center}

\vspace{1cm}
Implement a B-spline-to-B\'ezier conversion for B-spline curves.
As one example, convert the B-spline curve with
control points

\begin{verbatim}

0 0
-1 -0.5
-2 1
-1 3
1.9 3
2.1 1 
2.9 1
3.1 3 
7 2
8 1
 \end{verbatim}

to piecewise B\'ezier form where the degree is $5$ and the
knot sequence is $0,0,0,0,0,1,5,6,7,10,10,10,10,10$.

Give two more examples of your choice, using different degrees.



 \end{document}

