solve one or more equations using floating-point arithmetic
fsolve( equations, variables, complex )
equation, set(equation), expression, set(expression), list(equation), procedure, list(procedure)
(optional) name or set(name); unknowns for which to solve
(optional) literal name; search for complex solutions
The fsolve command numerically computes the zeroes of one or more equations, expressions or procedures.
The solutions to a single equation are returned as an expression sequence.
The solutions to a set or list of equations are returned as sets of equation sequences.
For a single polynomial equation of one variable with real coefficients, by default the fsolve command computes all real (non-complex) roots. It may not return all roots for exceptionally ill-conditioned polynomials.
For a single polynomial equation of one variable with some (non-real) complex coefficients, the fsolve command computes all real and complex roots. It may not return all roots for exceptionally ill-conditioned polynomials.
For a general equation or system of equations, the fsolve command computes a single real root.
A Polynomial Equation in One Variable
For a univariate real polynomial equation, the fsolve command computes all real solutions.
polynomial ≔ 2⁢x5−11⁢x4−7⁢x3+12⁢x2−4⁢x=0:
For more complicated equations, the fsolve command computes one real solution.
polynomials ≔ 3⁢x4⁢y2=17,x3⁢y−5⁢x⁢y2−2⁢y=1:
f ≔ sin⁡x+y−ⅇx⁢y=0:
g ≔ x2−y=2:
If an equation has no real solutions or you are interested in complex solutions then you can search for a complex solution using the complex option. For equations and expressions, the complex option must be preceded by the variables option.
For detailed information including:
Complete description of all parameters
Complete description of functionality
Specifying ranges or initial points
Shortcuts for specifying equations and unknowns
Specifying you want to find complex roots
Limiting the number of solutions returned for a polynomial equation of one variable
Specifying the maximum number of solutions for an equation of one variable
Specifying the method for an equation of one variable
see the fsolve/details help page.
Numeric Computation in Maple
Download Help Document