Trigonometrische Funktionen
> restart; with(plots):
opts:= 'font = [COURIER, 12],
size = [350, 250]':
size = [350, 250]':
sin und cos:
> plot([sin(x), cos(x)], x = -2*Pi..2*Pi,
opts,
color = [black, red]);
color = [black, red]);
sin und tan:
> plot([sin(x), tan(x)],
view = [-2*Pi..2*Pi, -5..5],
opts,
color = [black, red],
discont = true,
scaling = CONSTRAINED);
opts,
color = [black, red],
discont = true,
scaling = CONSTRAINED);
Besondere Werte:
> sin(Pi/4);
cos(Pi/3);
Vereinfachen trigonometrischer Ausdrücke:
> (sin^2)(x) + (cos^2)(x);
simplify(%);
> simplify(sin(x + Pi/2));
simplify(sin(x)^4 - cos(x)^4);
combine(4*cos(x)^3 - 3*cos(x), trig);
combine(4*cos(x)^3 - 3*cos(x), trig);
Umformen trigonometrischer Ausdrücke:
> expand(tan(2*x));
expand(sin(3*x));
Umwandlung vom Bogenmaß ins Winkelmaß:
> w:= convert(b, degrees);
w:= evalf(%);
w:= convert(Pi, degrees);
w:= convert(Pi, degrees);
Umwandlung vom Winkelmaß ins Bogenmaß:
> b:= convert(alpha*degrees, radians);
b:= convert(30*degrees, radians);
Lösen trigonometrischer Gleichungen:
> solve(sin(x) = cos(x), x);
> _EnvAllSolutions:= true:
gn:= solve(sin(x) = cos(x), x);
> alias(k = _Z2):
lgn;
about(k);
about(k);
Originally _Z2, renamed _Z2~:
is assumed to be: integer
Arcusfunktionen:
> simplify(arcsin(sin(x)));
> assume(x >= -Pi/2, x <= Pi/2);
interface(showassumed = 0):
simplify(arcsin(sin(x)));
simplify(arctan(tan(x)));
simplify(arcsin(sin(x)));
simplify(arctan(tan(x)));
x
x
> plot([sin(x), arcsin(x)], x = -Pi/2..Pi/2,
opts,
color = [black, red]);
color = [black, red]);