An Introduction to Numerical Computation
eBook - ePub

An Introduction to Numerical Computation

Wen Shen

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

An Introduction to Numerical Computation

Wen Shen

Book details
Book preview
Table of contents
Citations

About This Book

Developed during ten years of teaching experience, this book serves as a set of lecture notes for an introductory course on numerical computation, at the senior undergraduate level. These notes contain the material that can be covered in a semester, together with a few optional sections for additional reading. Rather than surveying a large number of algorithms, the book presents the most important computational methods and emphasizes the underlying mathematical ideas. In most chapters, graphs and drawings are relied on, to build up intuition.

The notes are written in a rather colloquial style, presenting the subject matter in the same form as it can be explained in a classroom. For instructors, this will minimize the amount of effort required to prepare their blackboard presentations.

As prerequisites, the book only relies on standard calculus, an introductory course on matrices, and some basic computer programming skills. As a new feature, these notes are supplemented by two sets of videos from the author's Youtube channel. These videos contain a complete set of live lectures given in Spring 2015, together with a complete set of short tutorials, from 5 to 15 minutes each.

A set of homework problems is included at the end of each chapter. Homework projects cover a variety of applications, in connection with population dynamics, engineering, mechanics, image reconstruction, etc. A complete set of solutions is available for instructors, upon request.

Request Inspection Copy

Developed during ten years of teaching experience, this book serves as a set of lecture notes for an introductory course on numerical computation, at the senior undergraduate level. These notes contain the material that can be covered in a semester, together with a few optional sections for additional reading. Rather than surveying a large number of algorithms, the book presents the most important computational methods and emphasizes the underlying mathematical ideas. In most chapters, graphs and drawings are relied on, to build up intuition.

The notes are written in a rather colloquial style, presenting the subject matter in the same form as it can be explained in a classroom. For instructors, this will minimize the amount of effort required to prepare their blackboard presentations.

As prerequisites, the book only relies on standard calculus, an introductory course on matrices, and some basic computer programming skills. As a new feature, these notes are supplemented by two sets of videos from the author's Youtube channel. These videos contain a complete set of live lectures given in Spring 2015, together with a complete set of short tutorials, from 5 to 15 minutes each.

A set of homework problems is included at the end of each chapter. Homework projects cover a variety of applications, in connection with population dynamics, engineering, mechanics, image reconstruction, etc. A complete set of solutions is available for instructors, upon request.

Request Inspection Copy


Readership: Junior or senior undergraduate students interested in numerical computation and analysis, majoring in mathematics, computer science, physics, engineering, etc.
Key Features:

  • Matlab is integrated throughout the book
  • The book assumes minimum prior mathematical knowledge
  • The book was class-tested through 5 semesters at Penn State University, with top reviews from students
  • Supplementary videos offer an enrichment to these lecture notes

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 An Introduction to Numerical Computation an online PDF/ePUB?
Yes, you can access An Introduction to Numerical Computation by Wen Shen in PDF and/or ePUB format, as well as other popular books in Mathematik & Mathematik Allgemein. We have over one million books available in our catalogue for you to explore.

Information

Publisher
WSPC
Year
2015
ISBN
9789814730099

Chapter 1

Computer Arithmetic

1.1Introduction

What are numerical methods? They are algorithms that compute approximate solutions to a number of problems for which exact solutions are not available. These include, but are not limited to:
evaluating functions,
computing the derivative of a function,
computing the integral of a function,
solving a nonlinear equation,
solving a system of linear equations,
finding solutions to an ODE (ordinary differential equation),
finding solutions to a PDE (partial differential equation).
Such algorithms can be implemented (programmed) on a computer.
The following diagram shows how various aspects are related.
Keep in mind that a course on numerical methods is NOT about numbers. It is about mathematical ideas and insights.
We shall study some basic issues:
development of algorithms;
implementation;
a little bit of analysis, including error-estimates, convergence, stability etc.
Throughout the course we shall use Matlab for programming purposes.

1.2Representation of Numbers in Different Bases

Historically, there have been several bases for representing numbers, used by different civilizations. These include:
10: decimal, which has become standard nowadays;
2: binary, computer use;
8: octal;
16: hexadecimal, used in ancient China;
20: vigesimal, used in ancient France (numbers 70 to 79 are counted as 60+10 to 60+19 in French, and 80 is 4 × 20);
60: sexagesimal, used by the Babylonians.
Image
Fig. 1.1The big picture
In principle, one can use any integer β as the base. The value of a number in base β is then written as
Image
Taking β = 10, we obtain the standard decimal representation.
The above formula allows us to convert a number in any base β into decimal base.
In principle, one can convert the numbers between different bases. Here are some examples.
Example 1.1. Conversion of octal → decimal:
(45.12)8 = 4 × 81 + 5 × 80 + 1 × 8−1 + 2 × 8−2 = (37.15625)10
Example 1.2. Conversion of octal ↔ binary:
Observe that, since 8 = 23, we have
Image
Then, the conversion between these two bases become much simpler. To convert from octal to binary, we can convert each digit in the octal base, and write it into binary base, using 3 digits in binary for each digit in octal. For example:
Image
To convert a binary number to an octal one, we can group the binary digit in groups of 3, and write out the octal base value for each group. For example:
Image
Example 1.3. Conversion of decimal → binary: write (12.45)10 in binary base.
This example is of particular interest. Since the computer uses binary base, how would the number (12.45)10 look like in binary base? How does a computer store this number in its memory? The conversion takes two steps.
First, we treat the integer part. The procedure is to keep dividing by 2, and store the remainders of each step, until one cannot divide anymore. Then, collect the remainder terms in the rev...

Table of contents