Cover image for Computing for numerical methods using visual C++
Title:
Computing for numerical methods using visual C++
Personal Author:
Publication Information:
Hoboken, N.J. : Wiley-Interscience, 2008
ISBN:
9780470127957

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010147746 QA76.73.C154 S52 2008 Non Circulating UTM Special Collection Materials 1:BOOK_ARC
Searching...
Searching...
30000010163513 QA76.73.C154 S52 2008 Open Access Book Book
Searching...
Searching...
N10129543 QA76.73.C154 S52 2008 Non Circulating UTM Special Collection Materials Book - UTM Special Collection (Closed Access)
Searching...
Searching...
30000010163512 QA76.73.C154 S52 2008 Open Access Book Book
Searching...

On Order

Summary

Summary

A visual, interdisciplinary approach to solving problems in numerical methods

Computing for Numerical Methods Using Visual C++ fills the need for a complete, authoritative book on the visual solutions to problems in numerical methods using C++. In an age of boundless research, there is a need for a programming language that can successfully bridge the communication gap between a problem and its computing elements through the use of visual-ization for engineers and members of varying disciplines, such as biologists, medical doctors, mathematicians, economists, and politicians. This book takes an interdisciplinary approach to the subject and demonstrates how solving problems in numerical methods using C++ is dominant and practical for implementation due to its flexible language format, object-oriented methodology, and support for high numerical precisions.

In an accessible, easy-to-follow style, the authors cover:

Numerical modeling using C++

Fundamental mathematical tools

MFC interfaces

Curve visualization

Systems of linear equations

Nonlinear equations

Interpolation and approximation

Differentiation and integration

Eigenvalues and Eigenvectors

Ordinary differential equations

Partial differential equations

This reader-friendly book includes a companion Web site, giving readers free access to all of the codes discussed in the book as well as an equation parser called "MyParser" that can be used to develop various numerical applications on Windows. Computing for Numerical Methods Using Visual C++ serves as an excellent reference for students in upper undergraduate- and graduate-level courses in engineering, science, and mathematics. It is also an ideal resource for practitioners using Microsoft Visual C++.


Author Notes

Sakhinah Abu Bakar is Lecturer in Computational Mathematics at the School of Mathematical Sciences, Faculty of Science and Technology, National University of Malaysia.


Reviews 1

Choice Review

Salleh (Universiti Teknologi, Malaysia) and others offer a wonderful, practical treatment of how to realize numerical methods in software for simulation and visualization in this book. The choice of Microsoft Visual C++ allows use of the conveniences of the Windows platform (such as graphics libraries) for creating visualizations, and for having fine control over the data being manipulated. C++ tends to be a bit complex in its own right. Perhaps Visual Basic would appeal to more people at a lower level of programming sophistication. Nevertheless, the book has a rich set of examples and good coverage of numerical methods taught through the 400 (upper-undergraduate) level. As such, this is a work that can live with students of mathematics throughout their undergraduate educational progression from lower- to upper-division undergraduate courses. The clarity of the book is excellent. Includes programming exercises at the end of most of the 13 chapters and a detailed index. Summing Up: Highly recommended. Lower-division undergraduate through professional applied mathematics and computer science collections. F. H. Wild III University of Rhode Island


Table of Contents

Prefacep. xiii
Codes for Downloadp. xvii
1 Modeling and Simulationp. 1
1.1 Numerical Approximationp. 1
1.2 C++ for Numerical Modelingp. 3
1.3 Mathematical Modelingp. 4
1.4 Simulation and Its Visualizationp. 6
1.5 Numerical Methodsp. 7
1.6 Numerical Applicationsp. 7
2 Fundamental Tools for Mathematical Computingp. 13
2.1 C++ for High-Performance Computingp. 13
2.2 Dynamic Memory Allocationp. 14
2.3 Matrix Reduction Problemsp. 22
2.4 Matrix Algebrap. 35
2.5 Algebra of Complex Numbersp. 43
2.6 Number Sortingp. 51
2.7 Summaryp. 54
Programming Challengesp. 55
3 Numerical Interface Designsp. 56
3.1 Microsoft Foundation Classesp. 56
3.2 Graphics Device Interfacep. 57
3.3 Writing a Basic Windows Programp. 60
3.4 Displaying Text and Graphicsp. 68
3.5 Events and Methodsp. 69
3.6 Standard Control Resourcesp. 71
3.7 Menu and File I/Op. 78
3.8 Keyboard Controlp. 87
3.9 MFC Compatibility with .Netp. 92
3.10 Summaryp. 95
4 Curve Visualizationp. 96
4.1 Tools for Visualizationp. 96
4.2 MyParserp. 96
4.3 Drawing Curvesp. 106
4.4 Generating Curves Using MyParserp. 115
4.5 Summaryp. 126
Programming Challengesp. 126
5 Systems of Linear Equationsp. 127
5.1 Introductionp. 127
5.2 Existence of Solutionsp. 128
5.3 Gaussian Elimination Techniquesp. 131
5.4 LU Factorization Methodsp. 142
5.5 Iterative Techniquesp. 161
5.6 Visualizing the Solution: Code5p. 172
5.7 Summaryp. 189
Numerical Exercisesp. 190
Programming Challengesp. 192
6 Nonlinear Equationsp. 193
6.1 Introductionp. 193
6.2 Existence of Solutionsp. 194
6.3 Bisection Methodp. 195
6.4 False Position Methodp. 198
6.5 Newton-Raphson Methodp. 201
6.6 Secant Methodp. 203
6.7 Fixed-Point Iteration Methodp. 206
6.8 Visual Solution: Code6p. 208
6.9 Summaryp. 225
Numerical Exercisesp. 225
Programming Challengesp. 226
7 Interpolation and Approximationp. 227
7.1 Curve Fittingp. 227
7.2 Lagrange Interpolationp. 228
7.3 Newton Interpolationsp. 231
7.4 Cubic Splinep. 239
7.5 Least-Squares Approximationp. 244
7.6 Visual Solution: Code7p. 249
7.7 Summaryp. 264
Numerical Exercisesp. 265
Programming Challengesp. 265
8 Differentiation and Integrationp. 267
8.1 Introductionp. 267
8.2 Numerical Differentiationp. 268
8.3 Numerical Integrationp. 271
8.4 Visual Solution: Code8p. 279
8.5 Summaryp. 286
Numerical Exercisesp. 286
Programming Challengesp. 287
9 Eigenvalues and Eigenvectorsp. 288
9.1 Eigenvalues and Their Significancep. 288
9.2 Exact Solution and Its Existencep. 289
9.3 Power Methodp. 291
9.4 Shifted Power Methodp. 292
9.5 QR Methodp. 294
9.6 Visual Solution: Code9p. 302
9.7 Summaryp. 322
Numerical Exercisesp. 322
Programming Challengesp. 323
10 Ordinary Differential Equationsp. 324
10.1 Introductionp. 324
10.2 Initial-Value Problem for First-Order ODEp. 325
10.3 Taylor Series Methodp. 327
10.4 Runge-Kutta of Order 2 Methodp. 330
10.5 Runge-Kutta of Order 4 Methodp. 333
10.6 Predictor-Corrector Multistep Methodp. 335
10.7 System of First-Order ODEsp. 338
10.8 Second-Order ODEp. 341
10.9 Initial-Value Problem for Second-Order ODEp. 342
10.10 Finite-Difference Method for Second-Order ODEp. 345
10.11 Differentiated Boundary Conditionsp. 351
10.12 Visual Solution: Code10p. 358
10.13 Summaryp. 378
Numerical Exercisesp. 378
Programming Challengesp. 380
11 Partial Differential Equationsp. 381
11.1 Introductionp. 381
11.2 Poisson Equationp. 385
11.3 Laplace Equationp. 394
11.4 Heat Equationp. 397
11.5 Wave Equationp. 406
11.6 Visual Solution: Code11p. 411
11.7 Summaryp. 437
Numerical Exercisesp. 437
Programming Exercisesp. 438
Indexp. 441