EAGLE Help Light

Trigonometric Functions

Funkce
Trigonometric functions.

Zápis
real acos(real x);
real asin(real x);
real atan(real x);
real cos(real x);
real sin(real x);
real tan(real x);

Returns
acos returns the arc cosine of x.
asin returns the arc sine of x.
atan returns the arc tangent of x.
cos returns the cosine of x.
sin returns the sine of x.
tan returns the tangent of x.

Constants

PI the value of "pi" (3.14...)

Příklad


real x = 2.0;
printf("The sine of %f is %f\n", x, sin(x));


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH