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.2 Numerical Computations • 9Table 2.1 Commands for Working with IntegersFunction Descriptionabs absolute value of an expressionfactorial factorial of an integeriquo quotient of an integer divisionirem remainder of an integer divisioniroot approximate integer root of an integerisqrt approximate integer square root of an integermax, min maximum and minimum of a set of inputsmod modular arithmeticsurd real root of an integerone. The ability to perform exact computations with computers enablesyou to solve a range of problems.Maple can produce floating-point estimates. Maple can work withfloating-point numbers with many thousands of digits, producing accurateestimates of exact expressions.> Pi;π> evalf(Pi, 100);3.1415926535897932384626433832795028841\97169399375105820974944592307816406286\208998628034825342117068<strong>Learning</strong> how Maple distinguishes between exact and floating-pointrepresentations of values is important.Here is an example of a rational (exact) number.> 1/3;13The following is its floating-point approximation (shown to ten digits,by default).

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

Saved successfully!

Ooh no, something went wrong!