In general, Java applets do not do algebra unless they are specifically designed for it. Here we will illustrate with an example.

The following Java applet multiplies out the polynomials 1 –

xand 1 +x+x^{2}+ . . . +x^{n}. All you need to supply isn.

## Exercise 1

Try different values of

nin the applet above. What is the general formula suggested by these calculations?

Section 0.1 | Section 0.2 | Section 0.3 | Section 0.4 | Section 0.5

Copyright © 2001 by W. H. Freeman and Company