In the last lesson, you saw how the

`algebra`

function knows how to crunch algebraic
symbols (x, y, z, etc.) for you, in figuring out exponents.
Let's use this more now to multiply a polynomial by a monomial, and practice the distributive property of multiplication. This means doing problems like $-x(x^2-4)$ or $-5u(u^2+4)$.

Type your code here:

See your results here:

This will find the answer to $(x+2)^2$.

You can try all kinds of expression with this (ones you wouldn't dare do by hand), like:

- $7y(y^2-y+5)$
- $4x(-2x)(x^2-1)$
- $4y^2(2x-4y)$
- $2x(x^2-2x+8)$
- $5u^4(2u^3-3u+3)$

Does your code work? Want to run it on your iPhone?

Here's your code:

- Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.
- Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into
this page
- Then click the "Use on iPhone" button that you'll see.