© Sandeep Nagar 2017

Sandeep Nagar, Introduction to MATLAB for Engineers and Scientists, https://doi.org/10.1007/978-1-4842-3189-0_7

7. Approximate answers in numerical computation

Sandeep Nagar

(1)New York, USA

7.1 Numerical Approximations

In the course of scientific investigation, finding exact answers may not be possible at times. Instead of devoting a lot of effort trying to find an exact answer by solving the problem analytically, another alternative is to develop methods to produce approximate answers. This is particularly true for solutions involving irrational numbers like pi. You can choose the number of significant digits to be used with pi and determine the accuracy of the result.

The degree of accuracy required always depends on the targeted ...

Get Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.