11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

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

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

18 • Chapter 2: Mathematics with <strong>Maple</strong>: The BasicsDivide one polynomial in x by another.> rem(x^3+x+1, x^2+x+1, x);2 + xCreate a series.> series(sin(x), x=0, 10);x − 1 6 x3 + 1120 x5 − 1 15040 x7 +362880 x9 + O(x 10 )All the mathematical functions mentioned in the previous section alsoaccept unknowns as arguments.2.4 Assigning Expressions to NamesThis section introduces the following concepts in <strong>Maple</strong>.• Naming an object• <strong>Guide</strong>lines for <strong>Maple</strong> names• <strong>Maple</strong> arrow notation (->)• Assignment operator (:=)• Predefined and reserved namesSyntax for Naming an ObjectUsing the ditto operator, or retyping a <strong>Maple</strong> expression every time youwant to use it, is not always convenient, so <strong>Maple</strong> enables you to namean object. Use the following syntax for naming.name := expression;You can assign any <strong>Maple</strong> expression to a name.> var := x;var := x

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

Saved successfully!

Ooh no, something went wrong!