12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2 Solving Numerically: fsolve • 55solutions, you can increase the value of the special variable, Digits. Notethat in the following example the solution is not guaranteed to be accurateto thirty digits, but rather, Maple performs all steps in the solution to atleast thirty significant digits rather than the default of ten.> Digits := 30;Digits := 30> fsolve({cos(x)=0}, {x});{x = 1.57079632679489661923132169164}Limitations on solveThe solve command cannot solve all problems. Remember that Maple’sapproach is algorithmic, and it does not necessarily have the ability touse the shortcuts that you might use when solving the problem by hand.Mathematically, polynomials of degree five or higher do not have asolution in terms of radicals. Maple attempts to solve them, but you mayhave to resort to a numerical solution.Solving trigonometric equations can also be difficult. In fact, workingwith all transcendental equations is quite difficult.> solve({sin(x)=0}, {x});{x = 0}Note that Maple returns only one of an infinite number of solutions.However, if you set the environment variable _EnvAllSolutions to true,Maple returns the entire set of solutions.> _EnvAllSolutions := true;_EnvAllSolutions := true> solve({sin(x)=0}, {x});{x = π _Z1 ~}The prefix _Z on the variable indicates that it has integer values. Thetilde (~) indicates that there is an assumption on the variable, namely that

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!