Numerical Analysis
eBook - ePub

Numerical Analysis

An Introduction

Timo Heister, Leo G. Rebholz, Fei Xue

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

Numerical Analysis

An Introduction

Timo Heister, Leo G. Rebholz, Fei Xue

Book details
Book preview
Table of contents
Citations

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

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
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.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is Numerical Analysis an online PDF/ePUB?
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 Matematica & Analisi matematica. We have over one million books available in our catalogue for you to explore.

Information

Publisher
De Gruyter
Year
2019
ISBN
9783110573336
Edition
1

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 xā†’0 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