Evaluate a function at a given input (#341)

Evaluate a function at a given input (#341)

Substitute a specific value into f(x)f(x) and simplify.