cws/cw05.tex
changeset 865 bd27a5768c60
parent 858 67e4eae871a9
child 868 b0acb8741b16
equal deleted inserted replaced
864:a24633510c0a 865:bd27a5768c60
     1 % !TEX program = xelatex
     1 % !TEX program = xelatex
     2 \documentclass{article}
     2 \documentclass{article}
     3 \usepackage{../style}
     3 \usepackage{../style}
     4 \usepackage{../graphics}
     4 \usepackage{../graphicss}
     5 \usepackage{../langs}
     5 \usepackage{../langs}
     6 
     6 
     7 \begin{document}
     7 \begin{document}
     8 
     8 
     9 \section*{Coursework 5}
     9 \section*{Coursework 5}
   136 \caption{The Mandelbrot program in the `typed' Fun-language.\label{mand}}
   136 \caption{The Mandelbrot program in the `typed' Fun-language.\label{mand}}
   137 \end{figure}
   137 \end{figure}
   138 
   138 
   139 \begin{figure}[t]
   139 \begin{figure}[t]
   140 \includegraphics[scale=0.35]{../solution/cw5/out.png}
   140 \includegraphics[scale=0.35]{../solution/cw5/out.png}
   141 \caption{Ascii output of the Mandelbrot program.\label{mand}}
   141 \caption{Ascii output of the Mandelbrot program.\label{mand2}}
   142 \end{figure}
   142 \end{figure}
   143 
   143 
   144 Also note that the second version of the Mandelbrot program and also
   144 Also note that the second version of the Mandelbrot program and also
   145 the Tower of Hanoi program use character constants, like \texttt{'a'},
   145 the Tower of Hanoi program use character constants, like \texttt{'a'},
   146 \texttt{'1'}, \texttt{'$\backslash$n'} and so on. When they are tokenised,
   146 \texttt{'1'}, \texttt{'$\backslash$n'} and so on. When they are tokenised,