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.

2.4 Assigning Expressions to Names • 17> value(%);13 n3 − 1 2 n2 + 1 6 nDivide 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 NamesUsing the ditto operator, or retyping a Maple expression every time youwant to use it, is not always convenient, so Maple enables you to namean object. Use the following syntax for naming.name := expression;You can assign any Maple expression to a name.> var := x;var := x> term := x*y;term := x yYou can assign equations to names.

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

Saved successfully!

Ooh no, something went wrong!