To Define a Function by a Symbolic Result
1. Evaluate an expression symbolically.
2. Assign the symbolic expression to the function f(x).
3. Evaluate the function f(x) symbolically.
4. Evaluate the function f(x) numerically.
Additional Information
When you define a function using the output of a symbolic evaluation, variables that you defined previously are ignored.