WeBWorK Main Forum

errors in answer blanks in webwork 2.7

errors in answer blanks in webwork 2.7

by Darwyn Cook -
Number of replies: 1
We are using a brand new install of 2.7 installed from vanilla live. We have been having some issues with problems that we have used several times in the past. So far I have been able to fix them, but this one has me stumped.

Unfortunately it is a long problem, but I will paste the code and output below. This issue we are having is that a student is typing in a numeric answer, but WeBWorK is interpreting it as an interval.

Here is the students answer:



In reply to Darwyn Cook

Re: errors in answer blanks in webwork 2.7

by Darwyn Cook -
Well the stuff I pasted in to my post doesn't seem to have made it. Pretty sure I tracked down the source of my trouble, it's in the following code block:

y=c0({ ans_rule(2) }+{ ans_rule(5) }x2+{ ans_rule(5) }x3+{ ans_rule(5) }x4+)+c1({ ans_rule(5) }x+{ ans_rule(5) }x2+{ ans_rule(5) }x3+{ ans_rule(5) }x4+)

If I remove the align environment then everything seems to work.