**Description:**

This
book is aimed at those in engineering/scientific fields who have never learned
programming before but are eager to master the C language quickly so as to
immediately apply it to problem solving in numerical analysis. The book skips
unnecessary formality but explains all the important aspects of C essential for
numerical analysis. Topics covered in numerical analysis include single and
simultaneous equations, differential equations, numerical integration, and
simulations by random numbers. In the Appendices, quick tutorials for gnuplot,
Octave/MATLAB, and FORTRAN for C users are provided.

Contents:

**Preface **

**Acknowledgments **

__PART I: Introduction to C
Programming__

**Chapter1: First Steps to Run a C Program** • A
Cycle of C Programming • UNIX Command Primer • Overview of C Programming •
Principles of C language • Skeleton C program • Exercises

**Chapter 2: Components of C Language** •
Variables and Data Types • Cast Operators • Examples of Data Type •
Input/Output • Operators between Variables • Relational Operators • Logical
Operators • Increment/Decrement/Substitution Operators • Exercises • Control
Statements • if Statement • for Statement • while Statement • do while
Statement • switch Statement • Miscellaneous Remarks • Exercises • Functions •
Definition of Functions in C • Locality of Variables within a Function •
Recursivity of Functions • Random Numbers, rand ( ) • Exercises • Arrays •
Definition of Arrays • Multi-dimensional Arrays • Examples • Exercises • File
Handling • I/O Redirection (Standard Input/Output Redirection) • File Handling
(From within a Program) • Pointers • Address Operator & and Dereferencing
Operator * • Properties of Pointers • Function Arguments and Pointers •
Pointers and Arrays • Function Pointers • Summary • Exercises • String Manipulation
• How to Handle a String of Characters (Text) • String Copy/Compare/Length •
Command Line Arguments • Entering Command Line Arguments • Exercises •
Structures • Mixture of Different Types of Variables • Exercises

__PART II: Numerical Analysis__

**Chapter 3: Note on Numerical Errors **

**Chapter 4: Roots of** *f (x)* = 0 •
Bisection Method • Newton’s Method • Newton’s Method for a Single Equation •
Newton’s Method for Simultaneous Equations (Optional) • Exercises

**Chapter 5: Numerical Differentiation** •
Introduction . Forward/Backward/Central Difference • Exercises

**Chapter 6: Numerical Integration** •
Introduction • Rectangular Rule • Trapezoidal Rule • Simpson’s Rule • Exercises

**Chapter 7: Solving Simultaneous Equations** •
Introduction • Gauss-Jordan Elimination Method • LU Decomposition (optional) •
Gauss-Seidel Method (Jacobi Method) • Exercises

**Chapter 8: Differential Equations** •
Initial Value Problems • Euler’s Method • Runge-Kutta Method • Higher-order
Ordinary Differential Equations • Exercises

**A: Gnuplot**

**B: Octave (MATLAB) Tutorial for C Programmers** •
Introduction • Basic Operations • Principles of Octave/MATLAB • Reserved
Constants • Vectors/Matrices • Graph • I/O • M-files • Conditional Statement •
Sketch of Comparison Between C and Octave/MATLAB • Exercises

**C: FORTRAN Tutorial for C Programmers** •
FORTRAN Features • How to Run a FORTRAN Program • Sketch of Comparison Between
C and FORTRAN • Exercises

**Author’s Biography **

**Index**

About the Author:

**Seiichi Nomura** is a Professor in the
Department of Mechanical and Aerospace Engineering at the University of Texas
at Arlington. He is the author of *Micromechanics with Mathematica* and
coauthor of *Heat Conduction in Composite Materials *with A. Haji-Sheikh.
His research interests include micromechanics, analysis of composite materials,
and applications of computer algebra systems. He holds a Dr. of Eng. degree
from the University of Tokyo and a Ph.D. from the University of Delaware.

Target Audience:

This
book is useful to all those in engineering/scientific fields who have never
learned programming before but are eager to master the C language quickly.