Evaluate Calculator

The calculator will find the value of the given expression, plugging the values of the given variables if needed.

Enter an expression:

Enter values:
This is optional. For example, if you want to evaluate the expression when `x=1, y=2, z=3`, enter `x,y,z=1,2,3`, or simply `1,2,3`, if you want the order of variables to be detected automatically.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

Your input: evaluate $$$- z + 2 \left(x + 7\right) + \left(y - 1\right)^{2}$$$ when $$$x=1$$$, $$$y=2$$$, $$$z=5$$$.


Answer: $$$12\mathtt{\text{}}$$$.