Please ignore this question. I found the miserable extra right parenthesis on line 27
KA
WeBWorK Problems
using plot_functions in PGgraphmacros
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day