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 • 13> Digits := 20;Digits := 20> sin(0.2);0.19866933079506121546Digits is now set to twenty, which Maple then uses at each step in acalculation. Maple works like a calculator or an ordinary computer applicationin this respect. Remember that when you evaluate a complicatednumerical expression, errors can accumulate to reduce the accuracy of theresult to less than twenty digits. In general, setting Digits to produce agiven accuracy is not easy, as the final result depends on your particularquestion. Using larger values, however, usually gives you some indication.If required, Maple can provide extreme floating-point accuracy.Arithmetic with Special NumbersMaple can work with complex numbers. I is Maple’s default symbol forthe square root of minus one, that is, I = √ −1.> (2 + 5*I) + (1 - I);3 + 4 I> (1 + I)/(3 - 2*I);113 + 5 13 IYou can also work with other bases and number systems.> convert(247, binary);11110111> convert(1023, hex);3FF

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

Saved successfully!

Ooh no, something went wrong!