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.

10 • Chapter 2: Mathematics with Maple: the Basics> evalf(%);0.3333333333These results are not the same mathematically, nor are they at all thesame in Maple.Whenever you enter a number in decimal form, Maple treats itas a floating-point approximation. The presence of a decimal numberin an expression causes Maple to produce an approximate floating-pointresult, since it cannot produce an exact solution from approximate data.> 3/2*5;152> 1.5*5;7.5Thus, you should use floating-point numbers only when you wantto restrict Maple to working with non-exact expressions.You can enter exact quantities by using symbolic representation, likeπ, in contrast to 3.14. Maple interprets irrational numbers as exact quantities.Here is how you represent the square root of two in Maple.> sqrt(2);√2Here is another square root example.> sqrt(3)^2;3Maple recognizes the standard mathematical constants, such as π andthe base of the natural logarithms, e. It works with them as exact quantities.> Pi;

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

Saved successfully!

Ooh no, something went wrong!