cws/cw05.tex
changeset 865 bc2a862a00d4
parent 858 13a6eb21706b
child 868 8fb3b6d3be70
equal deleted inserted replaced
864:b5b1bc0a603b 865:bc2a862a00d4
     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,