I've used TI's CAS system quite a bit, and I have a nice pattern for evaluating expressions without setting and then later clearing a variable.
For example, on my TI-89, I can do the following:
$-\frac{1}{3}x^3 + 3x^2 + 7x$ when x = 3
This would output a numeric (or exact) answer, evaluating the expression as if x had been assigned 3, but still leaving x as unassigned.
Can I do the same thing or something similar in Mathematica?
With
as inWith[{x=3}, ⅓ x^3 + 3x^2 + 7x]
$\endgroup$