Implementing Symbolic Algebra & Calculus in Perl
Computers are good at working with numbers. With the ability to perform millions of calculations in a fraction of a second, complex problems can be solved numerically. Sometimes, however, it's useful to find an analytical solution to a problem, or at least part of a problem, that is initially expressed analytically.
February, 2005: Implementing Symbolic Algebra & Calculus in Perl
Figure 1: Tree built from the expression 5*x+2.