Numerical Analysis
eBook - ePub

Numerical Analysis

An Introduction

  1. 193 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Numerical Analysis

An Introduction

About this book

Numerical analysis deals with the development and analysis of algorithms for scientific computing, and is in itself a very important part of mathematics, which has become more and more prevalent across the mathematical spectrum. This book is an introduction to numerical methods for solving linear and nonlinear systems of equations as well as ordinary and partial differential equations, and for approximating curves, functions, and integrals.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Numerical Analysis by Timo Heister,Leo G. Rebholz,Fei Xue in PDF and/or ePUB format, as well as other popular books in Mathematics & Applied Mathematics. We have over one million books available in our catalogue for you to explore.

Information

Publisher
De Gruyter
Year
2019
Print ISBN
9783110573305
eBook ISBN
9783110573336

1Computer representation of numbers and roundoff error

In this chapter, we will introduce the notion and consequences of a finite number system. Each number in a computer must be physically stored. Therefore, a computer can only hold a finite number of digits for any number. Decades of research and experimentation has led us to a (usually) reasonable approximation of numbers by representing them with (about) sixteen digits in base 10. While this approximation may seem at first to be reasonable, we will explore its consequences in this chapter. In particular, we will discuss how to not make mistakes that can arise from using a finite number system. The representation of numbers is not specific to a program or programming language like MATLAB but they are part of the hardware of the processors of virtually every computer.

1.1Examples of the effects of roundoff error

To motivate the need to study computer representation of numbers, let us consider first some examples taken from MATLAB—but we note that the same thing happens in C, Java, etc.:
1.The order in which you add numbers on a computer makes a difference!
Note: AAAeBBB is a common notation for a floating-point number with the value AAA × 10BBB. So 1e-16 = 10−16.
As we will see later in this chapter, the computer stores about 16 base 10 digits for each number; this means we get 15 digits after the first nonzero digit of a number. Hence, if you try to add 1 e-16 to 1, there is nowhere for the computer to store the 1 e-16 since it is the 17th digit of a number starting with 1. It does not matter how many times you add 1e-16; it just gets lost in each intermediate step, since operations are always done from left to right. So even if we add 1e-16 to 1, 10 times in a row, we get back exactly 1. However, if we first add the 1e-16’s together, then add the 1, these small numbers get a chance to combine to become big enough not to be lost when added to 1.
2.Consider
f( x )= e x e x x .
Suppose we wish to calculate
lim x0 f( x ).
By L’Hopital’s theorem, we can easily determine the answer to be 2. However, how might one do this on a computer? A limit is an infinit...

Table of contents

  1. Cover
  2. Title Page
  3. Copyright
  4. Dedication
  5. Preface
  6. Software
  7. Acknowledgment
  8. Support
  9. Contents
  10. 1 Computer representation of numbers and roundoff error
  11. 2 Solving linear systems of equations
  12. 3 Least squares problems
  13. 4 Finite difference methods
  14. 5 Solving nonlinear equations
  15. 6 Eigenvalues and eigenvectors
  16. 7 Interpolation
  17. 8 Numerical integration
  18. 9 Initial value problems
  19. 10 Partial differential equations
  20. Index