cos - cosine function
For a vector or a matrix, cos(x) is the cosine of its elements . For matrix cosine use cosm(X) function.
x=[0,1,%i] acos(cos(x))