solve(eqn1,eqn2,...,eqnN, var1, var2,..., varN);
equations or algebraic expressions
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.
t ≔ 2+3+4⁢log⁡x2−5⁢log⁡x:
x,y ≔ solve⁡x2+x⁢y+y=3,x2−4⁢x+3=0
S ≔ solve⁡u2⁢v2−2⁢u−1=0,u2−v2−1=0:
S ≔ solve⁡a⁢u2+v2,u−v=1,a,u:
a,u,v ≔ solve⁡a⁢u2+v2,u−v=1,a2−5⁢a+6
Download Help Document
What kind of issue would you like to report? (Optional)