## WeBWorK Problems

### Re: 'y' not defined in this context, but 'x' works

by Davide Cervone -
Number of replies: 0
The problem is that 'y' isn't defined in this context. :-)

The Numeric context has only one variable predefined: x. If you want additional variables, you need to add them into the context. For example

    Context("Numeric")->variables->add(y=>'Real');

when you declare the context would make y defined as well.

Davide