y=0.1*x is not a valid expression
you'll have to write it as 0.1*x and add an x variable
example
you'll have to write it as 0.1*x and add an x variable
example
ExpressionContext context = new ExpressionContext();
context.Variables["X"] = 5;
IDynamicExpression e = context.CompileDynamic("0.1*x");