Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Trigreduce Calculator

Trigreduce

Function: trigreduce (<expr>, <x>)

display2d:false;
px(t):= 2*cos(t) + (1 - 2*sin(t)^2);
py(t):= 2*sin(t) - (2*cos(t)*sin(t));
m(t) := (cos(t) - 1)/sin(t);
sols: solve([(oy - py(t1)) = (ox - px(t1)) * m(t1), (oy - py(t2)) = (ox - px(t2)) * m(t2)], [ox,oy]);
ox12: ox, sols[1];
ox23: ox12, t2=t3, t1=t2;
zz:trigreduce(ox23-ox12);
trigrat(zz);
trigrat(ox12);
trigrat(sin(x)/cos(x));

Function: trigreduce (<expr>) Combines products and powers of trigonometric and hyperbolic sins and coss of <x> into those of multiples of <x>. It also tries to eliminate these functions when they occur in denominators. If <x> is omitted then all variables in <expr> are used.

See also poissimp.

          (%i1) trigreduce(-sin(x)^2+3*cos(x)^2+x);
                         cos(2 x)      cos(2 x)   1        1
          (%o1)          -------- + 3 (-------- + -) + x - -
                            2             2       2        2

(%o1)                                true
(%i2) 

Trigreduce Example

Related Examples

trigreduce

trigreduce(p);

Calculate

trigreduce

? trigreduce;

Calculate

trigreduce

? trigreduce;

Calculate

trigreduce

trigreduce(a);

Calculate

trigreduce

trigreduce((cos^2)*x-...

Calculate

trigreduce

trigreduce(sin3x);

Calculate

trigreduce

trigreduce(sinx+y);

Calculate

trigreduce

trigreduce(p);

Calculate

trigreduce

trigreduce(sinx+y);

Calculate

trigreduce

? trigreduce;

Calculate