[genius] update the .txt help
- From: George Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] update the .txt help
- Date: Mon, 21 Oct 2013 04:47:48 +0000 (UTC)
commit 6988c6a792073de663104ed816d2a8dbf4688c4b
Author: Jiri (George) Lebl <jirka 5z com>
Date: Sun Oct 20 23:46:35 2013 -0500
update the .txt help
help/genius.txt | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/help/genius.txt b/help/genius.txt
index cbb8da6..eefddc6 100644
--- a/help/genius.txt
+++ b/help/genius.txt
@@ -5869,6 +5869,25 @@ FindRootSecant (f,a,b,TOL,N)
indicating success, value is the last value computed,
and iteration is the number of iterations done.
+ HalleysMethod
+
+HalleysMethod (f,df,ddf,guess,epsilon,maxn)
+
+ Find zeros using Halleys's method. f is the function, df
+ is the derivative of f, and ddf is the second derivative
+ of f. guess is the initial guess. The function returns
+ after two successive values are within epsilon of each
+ other, or after maxn tries, in which case the function
+ returns null indicating failure.
+
+ See also NewtonsMethod and SymbolicDerivative.
+
+ Example to find the square root of 10:
+
+genius> HalleysMethod(`(x)=x^2-10,`(x)=2*x,`(x)=2,3,10^-10,100)
+
+ See Wikipedia for more information.
+
NewtonsMethod
NewtonsMethod (f,df,guess,epsilon,maxn)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]