Skip to main content
\( \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section5Symbolic Manipulation and Plotting Discretely

You need to declare symbolic variables (except x comes pre-defined). That done, summations simplify as expected.

We'll recognize this result if we factor.

Arbitrarily complicated polynomials as summands can be simplified.

We can convert this symbolic expression to a callable function.

And call it—thus making \(n\) concrete.

Straightforward to plot a discrete function, we will plot using an expression.

Again, but with options.