An Introduction to Numerical Computation
eBook - ePub

An Introduction to Numerical Computation

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

An Introduction to Numerical Computation

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

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

Information

Publisher
WSPC
Year
2015
eBook 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

  1. Cover Page
  2. Title Page
  3. Copyright Page
  4. Dedication
  5. Preface
  6. Contents
  7. 1 Computer Arithmetic
  8. 2 Polynomial Interpolation
  9. 3 Piecewise Polynomial Interpolation: Splines
  10. 4 Numerical Integration
  11. 5 Numerical Solutions of Non-linear Equations
  12. 6 Direct Methods for Systems of Linear Equations
  13. 7 Fixed Point Iterative Solvers for Linear Systems
  14. 8 The Method of Least Squares
  15. 9 Numerical Solutions of ODEs
  16. 10 Two-Point Boundary Value Problems
  17. 11 FDM for Partial Differential Equations
  18. Bibliography
  19. Index