18 lines
482 B
Text
18 lines
482 B
Text
declare (x, xd, y, v) float;
|
|
|
|
x = 0.5; xd = 45;
|
|
|
|
/* angle in radians: */
|
|
v = sin(x); y = asin(v); put skip list (y);
|
|
v = cos(x); y = acos(v); put skip list (y);
|
|
v = tan(x); y = atan(v); put skip list (y);
|
|
|
|
/* angle in degrees: */
|
|
v = sind(xd); put skip list (v);
|
|
v = cosd(xd); put skip list (v);
|
|
v = tand(xd); y = atand(v); put skip list (y);
|
|
|
|
/* hyperbolic functions: */
|
|
v = sinh(x); put skip list (v);
|
|
v = cosh(x); put skip list (v);
|
|
v = tanh(x); y = atanh(v); put skip list (y);
|