Pascal’s Triangle

Recently I was introduced (or perhaps reintroduced) to Pascal’s Triangle, an arrangement of integers that lends itself to a variety of purposes, including binomial expansion. I’ve written a little program to explore this aspect of the idea.

Explanation? Bah. Experiment!

Features

  • Interactively adjust the degree of the expansion to see the corresponding triangle.
  • Change the binomial terms for clarity or convenience.
  • Show exponents of the first and zeroth power to illustrate that the total degree of each term matches the degree of the initial expression.
  • Show plus symbols in the triangle to emphasize how each row is the basis for the next.
  • Mouse-over highlight of corresponding terms in triangle and expansion.
  • Binomial expansions to any degree can be computed (although the triangle is only displayed for small values due to limitations of the current layout spacing).
  • Click and drag in triangle to scroll or drag divider to adjust size of expansion pane.

Screenshots

Mac OS X looking at a large expansion Windows as seen on WINE X11 (has font issues)

Download

Posted on Monday, February 25th, 2008. Tags: , , .