Close
Close window
scalar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

solve/scalar

solve a scalar case (a single variable and equation)

Calling Sequence

solve(eqn, var)

Parameters

eqn

-

algebraic expression (to be equated to 0), or an equation, or a set or list containing a single expression

var

-

(optional) name, or list containing a single name

Description

The solve function with a single equation and a single variable uses the scalar solver. When called with a single argument, it is equivalent to solve(eqn, indets(eqn, name)).

The scalar solver reports all solutions found, even if some roots are multiple roots. For polynomials, the scalar solver finds all solutions.

For polynomials of degree 2, 3, and 4, the scalar solver computes the explicit solutions. For irreducible and non-decomposable polynomials of degree higher than 4, the scalar solver returns the solutions using RootOf notation.

For information on the return values of the solve command, see solve/details .

Examples

>

solvecosx+y=9,x

πarccosy9

(1)
>

solvex36x2+11x6,x

1,2,3

(2)
>

solvex36x2+11x6,x

x=1,x=2,x=3

(3)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /