Description Usage Arguments Value
Find the root of a polynomial function.
1 | Newton(f, h = 0.01, tol = 1e-12, x0 = 1, maxiter)
|
f |
A function to be evaluated. |
h |
Optional parameter. The step size. Default 0.01. |
tol |
Optional parameter. The error tolerance for the function appriximation. Default 1e-12. |
x0 |
Optional parameter. Initial value. Default 1. |
maxiter |
Maximum number of iterations before exit. |
List containing iteration values, the estimated root, and the number of terations used to estimate the root.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.