Evaluating a function with two variables in CL

I want to self check students’ input to an integration question but I am having problems when they enter the + c constant as evaluate simplefunction gets confused by the c when the rest of the function is in terms of x. How can I get around this?

eg. x^2 + 3x. + c

You need to enter what variables are in the function as extra parameters:


and then to evaluate use two parameters as well:


That’s great. Thanks :slight_smile: