home *** CD-ROM | disk | FTP | other *** search
-
- _T_r_i_g_o_n_o_m_e_t_r_i_c _F_u_n_c_t_i_o_n_s
-
- cos(x)
- sin(x)
- tan(x)
- acos(x)
- asin(x)
- atan(x)
- atan2(y, x)
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- These functions give the obvious trigonometric func-
- tions. They respectively compute the cosine, sine,
- tangent, arc-cosine, arc-sine, arc-tangent and arc-
- tangent of two arguments.
-
- _S_e_e _A_l_s_o:
-
- Log, Math.
-
- _E_x_a_m_p_l_e_s:
-
- x <- 1:99/100
- all(Mod(1 - (cos(x) + 1i*sin(x)) / exp(1i*x)) < 1.1 * .Machine$double.eps)
- 2* abs(1 - x / acos(cos(x))) / .Machine$double.eps #-- depends ?
- all(abs(1 - x / asin(sin(x))) <= .Machine$double.eps) # TRUE (Solaris)
- all(abs(1 - x / atan(tan(x))) <= .Machine$double.eps) # TRUE (Solaris)
-
-