04.03. Finding Approximate Solutions:
04.03. Поиск приближенных корней.
The fsolve( ) command
Команда fsolve
Maple's fsolve( ) command can be used to find approximate solutions for any equation. For polynomial equations fsolve() produces a complete list of all of the real solutions in one step (see Example 1). For other equations fsolve( ) can be used to get one solution at a time (see Examples 2 and 3).
Для приближенного решения уравнений используется Maple-команда fsolve . В случае рационального уравнения, fsolve выводит весь список действительных корней (см. Пример 01). Для трансцендентных уравнений эта команда, по умолчанию, выводит только один корень (см. Примеры 02 и 03).
Maple's fsolve( ) command will compute a numerical approximation for each of the real solutions of a polynomial equation. Approximate all real solutions for the equation:
При помощи fsolve найдём приближенные значения сразу всех четырёх действительных корней рационального уравнения
.
:
> eq:=x^4-x^3-17*x^2-6*x+2=0;
The four solutions listed above provide us with a complete list of the solutions to the given polynomial equation.
Эти четыре корня и составляют исчерпывающее решение исходного рационального уравнения ( хотя и приближенное ).
Find all real solutions of the equation
Используя команду fsolve , найти хотя
бы один действительный корень уравнения
using the fsolve( ) command.
> eq:=x^3+1-exp(x)=0;
Maple returns one real solution. This time Maple has not given us the whole story. Are there any other solutions? How do we find them? A systematic procedure for finding the remaining solutions is presented in Example 3.
Maple и вывел только один корень. На этот раз Maple не стал "живописать". Как теперь убедиться в том, что других действительных корней нет? Следующий пример даёт такой инструментарий.
С официального разрешения © 2002 Waterloo Maple, Inc