Description Usage Arguments Details Value Author(s) References See Also Examples
The function zbrent
searches the interval int
for a root, i.e., a zero, with respect to the first argument
of a one-dimensional user-supplied function func
.
1 | zbrent(func,int,tol)
|
func |
the function for which the root is sought |
int |
a vector representing the interval in which the required root is located |
tol |
the desired accuracy (convergence tolerance) |
The values of func
at the two endpoints of int
must have opposite signs.
The algorithm returns the required root unless there is none, or the algorithm exceeds 100 iterations. In the latter case, an error message is displayed, and the current approximation is returned.
David E. Matthews dematthews@uwaterloo.ca
Press W.H., Flannery B.P., Teukolsky S.A., Vetterling W.T. (1988) Numerical Recipes: The Art of Scientific Computing. Cambridge: Cambridge University Press.
1 2 3 4 |
Loading required package: survival
[1] -1.191488
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.