Mercurial > octave-nkf
comparison doc/interpreter/arith.texi @ 3273:eb27ea9b7ff8
[project @ 1999-10-12 02:22:25 by jwe]
author | jwe |
---|---|
date | Tue, 12 Oct 1999 02:27:27 +0000 |
parents | a494f93e60ff |
children |
comparison
equal
deleted
inserted
replaced
3272:9e0c8e289555 | 3273:eb27ea9b7ff8 |
---|---|
298 @end deftypefn | 298 @end deftypefn |
299 | 299 |
300 @node Trigonometry, Sums and Products, Complex Arithmetic, Arithmetic | 300 @node Trigonometry, Sums and Products, Complex Arithmetic, Arithmetic |
301 @section Trigonometry | 301 @section Trigonometry |
302 | 302 |
303 Octave provides the following trigonometric functions: | 303 Octave provides the following trigonometric functions. Angles are |
304 specified in radians. To convert from degrees to radians multipy by | |
305 @iftex | |
306 @tex | |
307 $\pi/180$ | |
308 @end tex | |
309 @end iftex | |
310 @ifinfo | |
311 @code{pi/180} | |
312 @end ifinfo | |
313 (e.g. @code{sin (30 * pi/180)} returns the sine of 30 degrees). | |
304 | 314 |
305 @deftypefn {Mapping Function} {} sin (@var{z}) | 315 @deftypefn {Mapping Function} {} sin (@var{z}) |
306 @deftypefnx {Mapping Function} {} cos (@var{z}) | 316 @deftypefnx {Mapping Function} {} cos (@var{z}) |
307 @deftypefnx {Mapping Function} {} tan (@var{z}) | 317 @deftypefnx {Mapping Function} {} tan (@var{z}) |
308 @deftypefnx {Mapping Function} {} sec (@var{z}) | 318 @deftypefnx {Mapping Function} {} sec (@var{z}) |