Math_Quadratic
| From: | Matthew Fonda | Date: | Fri, 04 Feb 2005 15:14:16 +0000 |
| Subject: | Math_Quadratic | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-35941@lists.php.net to get a copy of this message | ||
Hello,
I've created a PHP class which allows you to easily solve quadratic
functions in the general form of f(x) = ax^2 + bx + c
You can do things such as calculate the zeros, calculate the minimum or
maximum point, find the value at a given time, calculate the
discriminate, calculate the vertex, etc.
I would like to propose this package to PEAR as Math_Quadratic
Here is an example: http://mfonda.dotgeek.org/mq/example.php
Source to example: http://mfonda.dotgeek.org/mq/example.phps
And here is the source to the class:
http://mfonda.dotgeek.org/mq/Quadratic.phps
--
Regards,
Matthew Fonda