12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

34 • Chapter 2: Mathematics with Maple: the Basics> expand(sin(x+y));sin(y) cos(x) + cos(y) sin(x)> expand(exp(a+ln(b)));e a bThe expand command is quite flexible. Not only can you specify thatcertain subexpressions be unchanged by the expansion, but you can alsoprogram custom expansion rules.Although the simplify command may seem to be the most usefulcommand, this is misleading. Unfortunately, the word simplify is rathervague. When you request to simplify an expression, Maple examinesyour expression, tests out many techniques, and then tries applying theappropriate simplification rules. However, this might take a little time. Aswell, Maple may not be able to determine what you want to accomplishsince universal mathematical rules do not define what is simpler.When you do know which manipulations will make your expressionsimpler for you, specify them directly. In particular, the expand commandis among the most useful. It frequently results in substantial simplification,and also leaves expressions in a convenient form for many othercommands.The convert CommandThis command converts expressions between different forms. For a list ofcommon conversions, see Table 2.3.> convert(cos(x),exp);12 e(x I) + 1 21e (x I)> convert(1/2*exp(x) + 1/2*exp(-x),trig);cosh(x)> A := Matrix([[a,b],[c,d]]);

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

Saved successfully!

Ooh no, something went wrong!