The use of the $ is reserved for variable definitions in algorithms in the Maple T.A. question syntax.
To display a $ character in the text of your question, use:
\\$