| |
| |
| |
Engineering Problem Solving | |
| |
| |
Grand Challenge: Weather Prediction | |
| |
| |
| |
Engineering in the Twenty-First Century | |
| |
| |
Recent Engineering Achievements | |
| |
| |
Grand Challenges for the Future | |
| |
| |
Changing Engineering Environment | |
| |
| |
| |
Computing Systems: Hardware and Software | |
| |
| |
Computer Hardware | |
| |
| |
Computer Software | |
| |
| |
Operating Systems | |
| |
| |
Software Tools | |
| |
| |
Computer Languages | |
| |
| |
Executing a Computer Program | |
| |
| |
Software Life Cycle | |
| |
| |
| |
An Engineering Problem-Solving Methodology | |
| |
| |
| |
Data Collection for Weather Prediction | |
| |
| |
Summary, Key Terms, Problems, Suggested Reading | |
| |
| |
| |
Simple C Programs | |
| |
| |
Grand Challenge: Vehicle Performance | |
| |
| |
| |
Program Structure | |
| |
| |
| |
Constants and Variables | |
| |
| |
Scientific Notation | |
| |
| |
Numeric Data Types | |
| |
| |
Character Data | |
| |
| |
Symbolic Constants | |
| |
| |
| |
Assignment Statements | |
| |
| |
Arithmetic Operators | |
| |
| |
Priority of Operators | |
| |
| |
Overflow and Underflow | |
| |
| |
Increment and Decrement Operators | |
| |
| |
Abbreviated Assignment Operators | |
| |
| |
| |
Standard Input and Output | |
| |
| |
Printf Function | |
| |
| |
Scanf Function | |
| |
| |
| |
Numerical Technique: Linear Interpolation | |
| |
| |
| |
Problem Solving Applied: Wind-Tunnel Data Analysis | |
| |
| |
| |
Mathematical Functions | |
| |
| |
Elementary Math Functions | |
| |
| |
Trigonometric Functions | |
| |
| |
Hyperbolic Functions | |
| |
| |
| |
Character Functions | |
| |
| |
Character I/O | |
| |
| |
Character Comparisons | |
| |
| |
| |
Problem Solving Applied: Velocity Computation | |
| |
| |
| |
System Limitations | |
| |
| |
Summary, Key Terms, C Statement Summary Style Notes, Debugging Notes, Problems | |
| |
| |
| |
Control Structures and Data Files | |
| |
| |
Grand Challenge: Global Change | |
| |
| |
| |
Algorithm Development | |
| |
| |
Top-Down Design | |
| |
| |
Decomposition Outline | |
| |
| |
Refinement with Pseudocode and Flowcharts | |
| |
| |
Structured Programming | |
| |
| |
Sequence | |
| |
| |
Selection | |
| |
| |
Repetition | |
| |
| |
Evaluation of Alternative Solutions | |
| |
| |
Error Conditions | |
| |
| |
Generation of Test Data | |
| |
| |
| |
Conditional Expressions | |
| |
| |
Relational Operators | |
| |
| |
Logical Operators | |
| |
| |
Precedence and Associativity | |
| |
| |
| |
Selection Statements | |
| |
| |
Simple if Statement | |
| |
| |
If/else Statement | |
| |
| |
Switch Statement | |
| |
| |
| |
Loop Structures | |
| |
| |
While Loop | |
| |
| |
Do/while Loop | |
| |
| |
For Loop | |
| |
| |
Break and continue Statements | |
| |
| |
| |
Problem Solving Applied: Weather Balloons | |
| |
| |
| |
Data Files | |
| |
| |
I/O Statements | |
| |
| |
Reading Data Files | |
| |
| |
Specified Number of Records | |
| |
| |
Trailer or Sentinel Signals | |
| |
| |
End of File | |
| |
| |
Generating a Data File | |
| |
| |
| |
Numerical Technique: Linear Modeling | |
| |
| |
| |
Problem Solving Applied: Ozone Measurements | |
| |
| |
Summary, Key Terms, C Statement Summary Style Notes, Debugging Notes, Problems | |
| |
| |
| |
Modular Programming with Functions | |
| |
| |
Grand Challenge: Enhanced Oil and Gas Recovery | |
| |
| |
| |
Modularity | |
| |
| |
| |
Programmer-Defined Functions | |
| |
| |
Function Definition | |
| |
| |
Function Prototype | |
| |
| |
Parameter List | |
| |
| |
Storage Class and Scope | |
| |
| |
| |
Random Numbers | |
| |
| |
Integer Sequences | |
| |
| |
Floating-Point Sequences | |
| |
| |
| |
Problem Solving Applied: Instrumentation Reliability | |
| |
| |
| |
Numerical Technique: Roots of Polynomials | |
| |
| |
Polynomial Roots | |
| |
| |
Incremental Search Technique | |
| |
| |
| |
Problem Solving Applied: System Stability | |
| |
| |
Newton-Raphson Method | |
| |
| |
| |
Numerical Technique: Integration | |
| |
| |
Integration Using the Trapezoidal Rule | |
| |
| |
| |
Macros | |
| |
| |
| |
Recursion | |
| |
| |
Factorial Computation | |
| |
| |
Fibonacci Sequence | |
| |
| |
Summary, Key Terms, C Statement Summary Style Notes, Debugging Notes, Problems | |
| |
| |
| |
Arrays and Matrices | |
| |
| |
Grand Challenge: Speech Recognition | |
| |
| |
| |
One-Dimensional Arrays | |
| |
| |
Definition and Initialization | |
| |
| |
Computations and Output | |
| |
| |
Function Arguments | |
| |
| |
| |
Statistical Measurements | |
| |
| |
Simple Analysis | |
| |
| |
Maximum and Minimum | |
| |
| |
Average | |
| |
| |
Median | |
| |
| |
Variance and Standard Deviation | |
| |
| |
Custom Header File | |
| |
| |
| |
Problem Solving Applied: Speech Signal Analysis | |
| |
| |
| |
Sorting Algorithms | |
| |
| |
| |
Search Algorithms | |
| |
| |
Unordered List | |
| |
| |
Ordered List | |
| |
| |
| |
Character Strings | |
| |
| |
String Definition and I/O | |
| |
| |
String Functions | |
| |
| |
| |
Problem Solving Applied: Palindromes | |
| |
| |
| |
Two-Dimensional Arrays | |
| |
| |
Definition and Initialization | |
| |
| |
Computations and Output | |
| |
| |
Function Arguments | |
| |
| |
| |
Problem Solving Applied: Terrain Navigation | |
| |
| |
| |
Matrices and Vectors | |
| |
| |
Dot Product | |
| |
| |
Determinant | |
| |
| |
Transpose | |
| |
| |
Matrix Addition and Subtraction | |
| |
| |
Matrix Multiplication | |
| |
| |
| |
Numerical Technique: Solution to Simultaneous Equations | |
| |
| |
Graphical Interpretation | |
| |
| |
Gauss Elimination | |
| |
| |
| |
Problem Solving Applied: Electrical Circuit Analysis | |
| |
| |
| |
Higher Dimensional Arrays | |
| |
| |
Summary, Key Terms, C Statement Summary Style Notes, Debugging Notes, Problems | |
| |
| |
| |
An Introduction to Pointers | |
| |
| |
Grand Challenge: Oil and Gas Exploration | |
| |
| |
| |
Addresses and Pointers | |
| |
| |
Address Operator | |
| |
| |
Pointer Assignment | |
| |
| |
Address Arithmetic | |
| |
| |
| |
Pointers to Array Elements | |
| |
| |
One-Dimensional Arrays | |
| |
| |
Character Strings | |
| |
| |
Two-Dimensional Arrays | |
| |
| |
| |
Pointers in Function References | |
| |
| |
| |
Problem Solving Applied: Seismic Event Detection | |
| |
| |
| |
Dynamic Memory Allocation | |
| |
| |
| |
A Quicksort Algorithm | |
| |
| |
Summary, Key Terms, C Statement Summary Style Notes, Debugging Notes, Problems | |
| |
| |
| |
Introduction to Structures | |
| |
| |
Grand Challenge: Image Processing | |
| |
| |
| |
Structures | |
| |
| |
Definition and Initialization | |
| |
| |
Input and Output | |
| |
| |
Computation and Function Arguments | |
| |
| |
| |
Functions That Return Structure Types | |
| |
| |
| |
Dynamic Data Structures: Linked List | |
| |
| |
| |
Arrays of Structures | |
| |
| |
| |
Problem Solving Applied: Image Processing | |
| |
| |
Summary, Key Terms, C Statement Summary Style Notes, Debugging Notes, Problems | |
| |
| |
| |
An Introduction to C++ | |
| |
| |
Grand Challenge: Simulation: Design of Advanced Composite Materials | |
| |
| |
| |
Object-Oriented Programming | |
| |
| |
| |
C++ Program Structure | |
| |
| |
| |
Standard Input and Output | |
| |
| |
The cout Object | |
| |
| |
Stream Functions | |
| |
| |
The cin Object | |
| |
| |
| |
Problem Solving Applied: Areas and Volumes | |
| |
| |
| |
File Input and Output | |
| |
| |
| |
Problem Solving Applied: Data Filters | |
| |
| |
| |
Classes | |
| |
| |
Defining a Class Data Type | |
| |
| |
Separate Compilation | |
| |
| |
Constructor Functions | |
| |
| |
Operators | |
| |
| |
| |
Problem Solving Applied: Simulation | |
| |
| |
| |
Overloading Operators | |
| |
| |
| |
Problem Solving Applied: Complex Number Class | |
| |
| |
Summary, Key Terms, C++ Statement Summary Style Notes, Debugging Notes, Test Questions, Problems | |
| |
| |
Appendices | |
| |
| |
| |
ANSI C Standard Library | |
| |
| |
[assert.h] | |
| |
| |
[ctype.h] | |
| |
| |
[errno.h] | |
| |
| |
[float.h] | |
| |
| |
[limits.h] | |
| |
| |
[locale.h] | |
| |
| |
[math.h] | |
| |
| |
[setjmp.h] | |
| |
| |
[signal.h] | |
| |
| |
[stdarg.h] | |
| |
| |
[stddef.h] | |
| |
| |
[stdio.h] | |
| |
| |
[stdlib.h] | |
| |
| |
[string.h] | |
| |
| |
[time.h] | |
| |
| |
| |
ASCII Character Codes | |
| |
| |
| |
Using Matlab to Plot Data from ASCII Files | |
| |
| |
| |
References | |
| |
| |
Complete Solutions to Practice! Problems | |
| |
| |
Selected Solutions to Modify! Problems | |
| |
| |
Selected Solutions to End-of-Chapter Problems | |
| |
| |
Glossary | |
| |
| |
Index | |