| 1 |
Math/Calculus/NewtonRaphson version 0.01 |
| 2 |
======================================== |
| 3 |
|
| 4 |
This module takes an algebraic expression, parses it and then |
| 5 |
uses the Newton Raphson method to solve the it. The Newton |
| 6 |
Raphson method relies on the fact that the expression you pass |
| 7 |
in evaluates to zero where there is a solution. That is, to |
| 8 |
solve:- |
| 9 |
|
| 10 |
x^2 = 5 |
| 11 |
|
| 12 |
You would need to pass in:- |
| 13 |
|
| 14 |
x^2 - 5 |
| 15 |
|
| 16 |
It understands expressions containing any of the operators +, -, |
| 17 |
*, / and ^ (raise to power), bracketed expressions to enable |
| 18 |
correct precedence and the functions ln, exp, sin, cos, tan, sec, |
| 19 |
cosec, cot, sinh, cosh, tanh, sech, cosech, coth, asin, acos, |
| 20 |
atan, asinh, acosh and atanh. |
| 21 |
|
| 22 |
INSTALLATION |
| 23 |
|
| 24 |
To install this module type the following: |
| 25 |
|
| 26 |
perl Makefile.PL |
| 27 |
make |
| 28 |
make test |
| 29 |
make install |
| 30 |
|
| 31 |
DEPENDENCIES |
| 32 |
|
| 33 |
This module requires these other modules and libraries: |
| 34 |
|
| 35 |
Math::Calculus::Expression |
| 36 |
Math::Calculus::Differentiate |
| 37 |
|
| 38 |
COPYRIGHT AND LICENCE |
| 39 |
|
| 40 |
Copyright (C) 2004, 2005 Jonathan Worthington |
| 41 |
|
| 42 |
This library is free software; you can redistribute it and/or modify |
| 43 |
it under the same terms as Perl itself. |
| 44 |
|