Evaluates the function on the given x value.
x
num evaluateOn(double x) => const ExpressionParser().evaluateOn(function, x);