Introduction to Scientific Computation and Programming, 1st Edition
- Daniel Kaplan Macalester College
- ISBN-10: 0534389139 | ISBN-13: 9780534389130
- 416 Pages
- © 2004 | Published
- College Bookstore Wholesale Price = $149.75
This book provides students with the modern skills and concepts needed to be able to use the computer expressively in scientific work. The author takes an integrated approach by covering programming, important methods and techniques of scientific computation (graphics, the organization of data, data acquisition, numerical methods, etc.) and the organization of software. Balancing the best of the teach-a-package and teach-a-language approaches, the book teaches general-purpose language skills and concepts, and also takes advantage of existing package-like software so that realistic computations can be performed.
1. WHAT IS COMPUTATION?
Computation as Transformation. Computation as Reaction to Events. Algorithms. From Algorithms to Software. Exercises.
2. INVOKING A COMPUTATION.
Expressions and Commands. Changing State: Assignment. A Variety of Notations. Parsing. Exercises.
3. SIMPLE TYPES: NUMBERS, TEXT, BOOLEANS.
The Organization of Computer Memory. Text. Collections of Numbers and Plotting. Booleans: True or False. Logical Operators: Boolean Operators with Boolean Inputs. Example: Measuring Information in Bits. Exercises.
4. NUMBERS AND PRECISION.
The Precision of Computer Arithmetic. Example: Global Positioning. Exercises.
5. COLLECTIONS AND INDEXING.
Indexing. Matrices. Mixed Data Types. Exercises.
6. FILES AND SCRIPTS.
Filenames. File Operators. Importing and Exporting Data. Scripts. Scripts as Computations. Exercises. Project: Time for a Cool Cup of Coffee.
Computations without Effects. Creating Functions. Functions as Arguments and Values. Exercises.
The if Statement. More Than Two Cases. Completeness and Exclusivity. Switch/Case. Advanced: Parallelization of Conditional Operators. Exercises. Project: The Morse Code.
For Loops. Accumulators. Nested Loops. Example: Optimal Matching with Nested Loops. Element-by-Element Operators. Outputs of Unknown Size. Loop Termination. Conditional Looping. Example: Measuring Information II. Dimensions and Arrays. Exercises. Project: Cellular Automata. Project: The Mandelbrot Set.
Environments and Scope. The Debugger. Shared Environments. Scoping of Functions. Pass by Reference. Exercises.
Activating Input Devices. Example: Recording the Times of Events. Example: Exploring the Mandelbrot Set. Inputs without Waiting. Warnings and Errors. Testing Functions. Optional and Default Arguments. Exercises.
12. ARRANGING DATA: SEARCHING AND DATABASES.
Datasets. Selecting Subsets from Lists. Efficient Searching for Matches. Combining Lists: Union and Intersection. Tables. Simultaneous Collection and Access of Data. Databases. Exercises. Project: A Bridge Database.
13. TREES AND RECURSION.
Simple Recursion. Multiway Recursion. Accumulators. Example: Optimal Matching (Recursive). Trees as Data Structures. Processing Trees. Example: Huffman Encoding of Information. Exercises. Project: Clustering of Data.
14. SOUNDS AND SIGNALS.
Basics of Computer Sound. Perception and Generation of Sound. Synthesizing Complex Sounds. Transduction and Recording Sound. Aliasing and the Sampling Frequency. Exercises. Project: The Perception of Beats. Project: Speeding Up Sound.
Black-and-White Images. Color. Digital Sampling of Images. Sampling and Storing Images in Files. Manipulating and Synthesizing Images. Example: Mona Lisa's Missing Blue. Exercises. Project: Landsat Images and False-Color.
16. MATHEMATICAL RELATIONSHIPS WITH ONE UNKNOWN.
Representing Mathematical Relationships. Zeroing in on Solutions. Derivatives. Going to the Extreme: Optimization. Fitting. Interpolation. Exercises.
17. MATHEMATICAL RELATIONSHIPS WITH TWO OR MORE UNKNOWNS.
Visualizing Functions of Two Variables. Geometry of Functions: The Gradient. Optimization Using the Gradient. Finding Solutions. Solutions to Systems of Linear Equations. Best Solutions to Linear Systems. Solutions to Systems of Nonlinear Equations. Exercises.
18. FROM EQUALITY TO SIMILARITY: RANDOMNESS AND VARIATION.
A Classification Problem. Describing Distributions. Processes and Distributions. Why the Gaussian is Important. Multiple Variables. Example: Handwritten Digit Recognition. Exercises. Project: Sums of Gaussians and Segmentation of Images.
Color Plates. ASCII Characters. Computations on Vectors and Matrices.