p^(number of H's in X) q^(number of T's in X)
Maple hint: execute "with(plots);" and then "?pointplot" to see how to do this. When you save your Maple output as latex you will also get a PostScript file (with extension .eps), this will automatically be included when the TeX code generated by Maple is processed by TeX.
A register machine is programmed using the following simple language. A statement in the language has one of the forms