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:

Demoivre

Function: demoivre (<expr>) -- Option variable: demoivre The function demoivre (expr) converts one expression without setting the global variable demoivre.

depends(y,x);
z:diff(y,x)=(y/x)^2-2;
depends(u,x);
r:z,y=u*x,nouns;
a:ode2(r,u,x);
p:a,u=y/x;
s:solve(p,y);
demoivre(s);

When the variable demoivre is true, complex exponentials are converted into equivalent expressions in terms of circular functions: exp (a + b*%i) simplifies to %e^a * (cos(b) + %i*sin(b)) if b is free of %i. a and b are not expanded.

The default value of demoivre is false.

exponentialize converts circular and hyperbolic functions to exponential form. demoivre and exponentialize cannot both be true at the same time.

(%o1)                                true
(%i2) 

Related Examples

demoivre-diff-exp-linsolve-ode2-realpart-sin

ode2('diff(y,t,2)+2*'...

linsolve([21*b+a=0,b-...

realpart(demoivre((-1...

Calculate

demoivre-true

demoivre:true;

%e^(%i*w);

Calculate

demoivre

demoivre(cos7x);

Calculate

demoivre-diff-exp-linsolve-ode2-sin

ode2('diff(y,t,2)+2*'...

linsolve([21*b+a=0,b-...

demoivre((-1-2*%i)/5*...

Calculate

demoivre-ev-true

demoivre;

%e^(%i*w);

expr:%e^(%i*w);

Calculate

demoivre-solve

a:x^2+omega^2=0;

solve(a,x);

x1:C1*%e^(%i*omega*t);

Calculate

demoivre-matrix-true

aa : matrix([a,b],[c,...

demoivre: true;

matrixlog(aa);

Calculate

demoivre-ev-true

demoivre;

%e^(%i*w);

expr:%e^(%i*w);

Calculate

demoivre-expand-solve

r:solve(x+1/x, x);

x:r[1];

demoivre(expand((x+1)...

Calculate

demoivre

demoivre(e^(7*x));

Calculate