|
acos
Inverse cosine; result in radians
Syntax
Y = acos(X)
Description
Y = acos(X) returns the inverse cosine (arccosine) for each element of X. For real elements of X in the domain [-1,1], acos(X) is real and in the range [0,pi]. For real elements of X outside the domain [-1,1], acos(X) is complex.
The acos function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians.
Examples
Graph the inverse cosine function over the domain -1<=x<=1.
x = -1:.05:1;
plot(x,acos(x)), grid on
3_*__________________
____*________________
______*______________
________*____________
__________*__________
____________*_______
_____________*_______
______________*______
0_______________*____
-1________________*__1
Definition
The inverse cosine can be defined as
cos^(-1)(z)=-i*log(z+i(1-z^2)^(1./2))
Algorithm
acos uses FDLIBM, which was developed at SunSoft, a Sun Microsystems, Inc., business, by Kwok C. Ng, and others. For information about FDLIBM, see http://www.netlib.org.
See Also
acosd, acosh, cos
Add by Pancho
You can edit it here
|
|
Adding comments is available only for registered users.
|
Latest "Green" Packing Material? Mushrooms!
A new packing material that grows itself is now appearing in shipped products across the country. The composite of inedible agricultural waste and mushroom roots is called Mycobond™, and its manufacture requires just one eighth the energy and one tenth the carbon dioxide of traditional foam packing material. And unlike most foam substitutes, when no longer useful, it makes great compost in the garden. The technology was the brainchild of two former Rensselaer ...
More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117385&WT.mc_id=USNSF_51&WT.mc_ev=click
This is an NSF News item.
|
|
PycckaR BepcuR
Articles

Library

Downloads

|