[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [FWP] Math::Expression



> From: Jeff Pinyan [mailto:jeffp@crusoe.net]
> Sent: Tuesday, November 30, 1999 19:37
> To: fwp@technofile.org
> Subject: [FWP] Math::Expression
> 
> 
> Interested in seeing the power of a new Perl module?
> 
>   http://www.crusoe.net/~jeffp/tmp/math-exp-test.cgi
> 
> It can take the derivative of ANY arbitrary expression.

Some simplification would help (lots of symbolic math programs do this):

d/dx (sin(x) * sin(x) + cos(x) * cos(x))

produces:

(sin(x) * cos(x))+(sin(x) * cos(x))+((cos(x) * (-sin(x)))+(cos(x) *
(-sin(x)))) 

which is a rather long-winded 0.

A couple of other minor suggestions:

Parameters aren't sticky.  I think it would be better if they were.

It gets sick if more than one checkbox is checked.  Souldn't these be
radio buttons?

-- 
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com 

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe