An Introduction to C++ and Numerical Methods / Edition 1

An Introduction to C++ and Numerical Methods / Edition 1

ISBN-10:
0195117670
ISBN-13:
9780195117677
Pub. Date:
08/06/1998
Publisher:
Oxford University Press
ISBN-10:
0195117670
ISBN-13:
9780195117677
Pub. Date:
08/06/1998
Publisher:
Oxford University Press
An Introduction to C++ and Numerical Methods / Edition 1

An Introduction to C++ and Numerical Methods / Edition 1

$171.99
Current price is , Original price is $171.99. You
$171.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE

    Your local store may have stock of this item.

$11.21 
  • SHIP THIS ITEM

    Temporarily Out of Stock Online

    Please check back later for updated availability.

    • Condition: Good
    Note: Access code and/or supplemental material are not guaranteed to be included with used textbook.

Overview

An Introduction to C++ and Numerical Methods provides a brief yet comprehensive introduction to programming and numerical methods for students in engineering, chemistry, physics, and applied mathematics. It is suitable for second semester or second year students who have had at least a semester of calculus.
This text offers students both an introduction to programming in C++ and clear explanations of the basics of numerical methods, including numerical integration and the solution of ordinary differential equations, nonlinear equations, and systems of linear equations. It is unique among textbooks at this level in its extensive coverage of numerical methods used in scientific and engineering computation.
An Introduction to C++ and Numerical Methods is designed to help students move quickly into writing interesting and sophisticated programs. The text begins with an introduction to scientific computing and the basic constructs of C++, including variables and assignment, typing, if statements, for and while loops, functions, one-dimensional arrays, and the cout and cin objects. After students have gained some experience with programming using these constructs, the topics are later revisited in greater detail, leading up to the important topic of classes and object-oriented programming. Throughout the text Ortega and Grimshaw emphasize the basic paradigms for constructing good programs and detecting errors.

Product Details

ISBN-13: 9780195117677
Publisher: Oxford University Press
Publication date: 08/06/1998
Edition description: New Edition
Pages: 288
Product dimensions: 7.56(w) x 9.19(h) x 0.57(d)

About the Author

both at University of Virginia

Table of Contents

PrefacePart I Basic Constructs1. INTRODUCTION1.1. Computers and Software1.2. Binary Numbers and Memory1.3. Rounding Errors1.4. Programs2. A FIRST C++ PROGRAM2.1. Computation and Assignment2.2. Variable Types2.3. Input and Output2.4. A Complete Program2.5. Errors and Debugging3. DECISIONS, DECISIONS3.1. The if Statement3.2. Logical Operators3.3. Nested If and Switch Statements3.4. Good Programming Practice4. AROUND AND AROUND: ITERATION4.1. The for Statement4.2. The while Statement4.3. An Approximation to eix/i4.4.. Advanced Loop Control5. FUNCTIONS5.1. Library Functions5.2. User-Defined Functions5.3. More General Functions5.4. Local vs. Global Variables6. NUMERICAL INTEGRATION6.1. Approximate Integration Formulas6.2. Flow Charts6.3. An Integration Program6.4. Discretization Error7. READING AND WRITING: INPUT/OUTPUT7.1. Precision7.2. Spacing7.3. File Input/Output7.4. The printf () Function8. SOLUTION OF NONLINEAR EQUATIONS8.1. The Bisection Method8.2. Newton's Method8.3. Errors and a Combined Method9. LOTS OF VALUES: ARRAYS9.1. Array Declarations9.2. Arrays and Functions10. DIFFERENTIAL EQUATIONS10.1. The Initial Value Problem10.2. Euler's Method10.3. Systems of EquationsPart II Extensions of the Basic Constructs11. MORE ON DATA TYPES AND OPERATIONS11.1. Other Fundamental Data Types11.2. Operations11.3. Characters and Strings11.4. User-Defined Data Types12. LOTS MORE VALUES: TWO-DIMENSIONAL ARRAYS12.1. Two-Dimensional Arrays12.2. Arrays and Functions12.3. Arrays of Strings13. LINEAR EQUATIONS13.1. Least-Squares Approximation13.2. Gaussian Elimination13.3. Errors13.4. Efficiency14. MORE ON FUNCTIONS14.1. Reference versus Value14.2. Recursive and Inline Functions14.3. Function Miscellanea14.4. Libraries of Functions15. POINTERS15.1. Pointer Variables15.2. Pointers and Arrays15.3. Pointers and Functions15.4. Pointers and Strings16. DYNAMIC MEMORY16.1. Dynamic Memory Allocation16.2. Matrices and Strings16.3. Linked ListsPart III Object-Oriented Programming17. CLASSES AND OBJECTS17.1. A Simple Class17.2. Classes and Functions17.3. Stream Classes18. ARRAY CLASSES AND DYNAMIC MEMORY18.2. Dynamic Memory Allocation18.3. A Matrix Class19. INHERITANCE19.1. Derived Classes19.2. Polymorphism and Virtual Functions19.3. Linear EquationsFurther ReadingAppendix 1: ASCII Character CodesAppendix 2: Library FunctionsIndex
From the B&N Reads Blog

Customer Reviews