solve - Maple Help

Online Help

All Products    Maple    MapleSim


MTM

  

solve

  

solve equations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

solve(eqn1,eqn2,...,eqnN);

solve(eqn1,eqn2,...,eqnN, var1, var2,..., varN);

Parameters

eqni

-

equations or algebraic expressions

vari

-

variables

Description

• 

solve(eqn1,...,eqnN) returns solutions to the system of equations with respect to variables found by findsym.

• 

solve(eqn1,eqn2,...,eqnN, var1, var2,..., varN) returns solutions with respect to given variables.

• 

If no closed-form solution is found and the number of equations is equal to number of variables, numeric solve is attempted.

• 

Three different types of output are possible.  For one equation and one output, the resulting solution is returned with multiplicities for a polynomial equation in a vector.  For several variables and an equal number of outputs, the results are sorted and assigned to the outputs.  For several equations and a single output, a MTM[struct] containing the solutions is returned.

Examples

withMTM:

t2+3+4logx25logx:

solvet

ⅇ1932+7I732ⅇ19327I732

(1)

solvepsinx=r

arcsinrp

(2)

x,ysolvex2+xy+y=3,x24x+3=0

x,y13,132

(3)

Ssolveu2v22u1=0,u2v21=0:

S:-u

12+I3212+I3212I3212I3252+1252+1252+1252+12

(4)

S:-v

62I3262I326+2I326+2I322+2522+25222522252

(5)

Ssolveau2+v2,uv=1,a,u:

S:-a

v2v2+2v+1

(6)

S:-u

v+1

(7)

a,u,vsolveau2+v2,uv=1,a25a+6

a,u,v2233,13+I2313I2314+I3414I34,23+I2323I2334+I3434I34

(8)