mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
improve inverse trigonometric help files
This commit is contained in:
@@ -14,7 +14,13 @@ DESCRIPTION
|
||||
Returns the inverse cosine of x to a multiple of eps with error less in
|
||||
absolute value than .75 * eps.
|
||||
|
||||
v = acos(x) is the number in [0, pi] for which cos(v) = x.
|
||||
This function is sometimes called arccos, is such that:
|
||||
|
||||
cos(acos(x)) = x
|
||||
|
||||
and such that:
|
||||
|
||||
acos(x) = asrc(1/x)
|
||||
|
||||
EXAMPLE
|
||||
; print acos(.5, 1e-5), acos(.5, 1e-10), acos(.5, 1e-15), acos(.5, 1e-20)
|
||||
|
@@ -14,6 +14,14 @@ DESCRIPTION
|
||||
Returns the inverse cotangent of x to a multiple of eps with error less in
|
||||
absolute value than .75 * eps.
|
||||
|
||||
This function is sometimes called arccot, is such that:
|
||||
|
||||
cot(acot(x)) = x
|
||||
|
||||
and such that:
|
||||
|
||||
acot(x) = atan(1/x)
|
||||
|
||||
EXAMPLE
|
||||
; print acot(2, 1e-5), acot(2, 1e-10), acot(2, 1e-15), acot(2, 1e-20)
|
||||
0.46365 0.463647609 0.463647609000806 0.46364760900080611621
|
||||
|
@@ -14,6 +14,14 @@ DESCRIPTION
|
||||
Returns the inverse cosecant of x to a multiple of eps with error less in
|
||||
absolute value than .75 * eps.
|
||||
|
||||
This function is sometimes called arccsc, is such that:
|
||||
|
||||
csc(acsc(x)) = x
|
||||
|
||||
and such that:
|
||||
|
||||
acsc(x) = asin(1/x)
|
||||
|
||||
EXAMPLE
|
||||
; print acsc(2, 1e-5), acsc(2, 1e-10), acsc(2, 1e-15), acsc(2, 1e-20)
|
||||
0.5236 0.5235987756 0.523598775598299 0.52359877559829887308
|
||||
|
@@ -14,6 +14,14 @@ DESCRIPTION
|
||||
Returns the inverse secant of x to a multiple of eps with error less in
|
||||
absolute value than .75 * eps.
|
||||
|
||||
This function is sometimes called arcsec, is such that:
|
||||
|
||||
sec(asec(x)) = x
|
||||
|
||||
and such that:
|
||||
|
||||
asec(x) = acos(1/x)
|
||||
|
||||
EXAMPLE
|
||||
; print asec(2, 1e-5), asec(2, 1e-10), asec(2, 1e-15), asec(2, 1e-20)
|
||||
1.0472 1.0471975512 1.047197551196598 1.04719755119659774615
|
||||
|
@@ -14,7 +14,13 @@ DESCRIPTION
|
||||
Returns the inverse sine of x to a multiple of eps with error less in
|
||||
absolute value than .75 * eps.
|
||||
|
||||
v = asin(x) is the number in [-pi/2, pi/2] for which sin(v) = x.
|
||||
This function is sometimes called arcsin, is such that:
|
||||
|
||||
sin(asin(x)) = x
|
||||
|
||||
and such that:
|
||||
|
||||
asin(x) = acsc(1/x)
|
||||
|
||||
EXAMPLE
|
||||
; print asin(.5, 1e-5), asin(.5, 1e-10), asin(.5, 1e-15), asin(.5, 1e-20)
|
||||
|
@@ -14,6 +14,14 @@ DESCRIPTION
|
||||
Returns the inverse tangent of x to a multiple of eps with error less in
|
||||
absolute value than .75 * eps.
|
||||
|
||||
This function is sometimes called arctan, is such that:
|
||||
|
||||
tan(atan(x)) = x
|
||||
|
||||
and such that:
|
||||
|
||||
atan(x) = acot(1/x)
|
||||
|
||||
EXAMPLE
|
||||
; print atan(2, 1e-5), atan(2, 1e-10), atan(2, 1e-15), atan(2, 1e-20)
|
||||
1.10715 1.1071487178 1.107148717794091 1.10714871779409050302
|
||||
|
Reference in New Issue
Block a user