Preface |
|
xiii | |
1 Fundamentals |
|
1 | (32) |
|
1.1 Getting Started With wxMaxima |
|
|
1 | (11) |
|
|
2 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
5 | (2) |
|
1.1.6 Mathematical Functions |
|
|
7 | (1) |
|
1.1.7 Assigning Variables |
|
|
8 | (2) |
|
|
10 | (2) |
|
1.1.9 Comments, Images, and Sectioning |
|
|
12 | (1) |
|
1.2 A Tour of the General Math Pane |
|
|
12 | (16) |
|
|
13 | (5) |
|
1.2.1.1 Plotting Multiple Curves |
|
|
14 | (1) |
|
|
15 | (1) |
|
|
15 | (2) |
|
1.2.1.4 Three-Dimensional Plots |
|
|
17 | (1) |
|
|
18 | (4) |
|
|
18 | (1) |
|
|
18 | (2) |
|
|
20 | (1) |
|
1.2.2.4 Solving Equations |
|
|
21 | (1) |
|
1.2.2.5 Simplifying Trigonometric and Exponential Functions |
|
|
21 | (1) |
|
|
22 | (6) |
|
|
22 | (1) |
|
|
23 | (1) |
|
|
24 | (1) |
|
|
25 | (3) |
|
1.2.4 Differential Equations |
|
|
28 | (1) |
|
1.3 Controlling Execution |
|
|
28 | (2) |
|
|
30 | (3) |
2 Storing and Transforming Data |
|
33 | (38) |
|
|
33 | (14) |
|
2.1.1 Floating Point Numbers |
|
|
33 | (4) |
|
2.1.2 Integers and Rational Numbers |
|
|
37 | (1) |
|
|
38 | (4) |
|
|
42 | (1) |
|
2.1.5 Units and Physical Constants |
|
|
43 | (4) |
|
2.2 Boolean Expressions and Predicates |
|
|
47 | (4) |
|
2.2.1 Relational Operators |
|
|
47 | (1) |
|
|
48 | (1) |
|
|
49 | (2) |
|
|
51 | (6) |
|
|
51 | (1) |
|
2.3.2 Indexing List Items |
|
|
52 | (1) |
|
2.3.3 Arithmetic with Lists |
|
|
52 | (2) |
|
2.3.4 Building and Editing Lists |
|
|
54 | (1) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
55 | (1) |
|
|
56 | (1) |
|
|
57 | (9) |
|
2.4.1 Row and Column Vectors |
|
|
57 | (1) |
|
|
58 | (1) |
|
|
59 | (1) |
|
|
60 | (1) |
|
|
61 | (2) |
|
2.4.6 Reading and Writing Matrices From Files |
|
|
63 | (2) |
|
2.4.7 Transforming Data in a Matrix |
|
|
65 | (1) |
|
|
66 | (5) |
|
2.5.1 Using String Functions to Work with Files |
|
|
67 | (4) |
3 Plotting Data and Functions |
|
71 | (32) |
|
3.1 Plotting in Two Dimensions |
|
|
71 | (20) |
|
3.1.1 Changing Plot Size and Resolution |
|
|
71 | (2) |
|
3.1.2 Plotting Multiple Curves |
|
|
73 | (1) |
|
3.1.3 Changing Axis Ranges |
|
|
74 | (1) |
|
3.1.4 Plotting Complex Functions |
|
|
74 | (1) |
|
|
74 | (3) |
|
3.1.5.1 Plotting Data in Separate X, Y Lists |
|
|
75 | (1) |
|
3.1.5.2 Plotting Data as Lists of X, Y Points |
|
|
75 | (1) |
|
3.1.5.3 Plotting Data in Matrices |
|
|
76 | (1) |
|
3.1.5.4 Plotting Data with Units |
|
|
76 | (1) |
|
3.1.5.5 Plotting Functions and Data Together |
|
|
77 | (1) |
|
3.1.6 Adding Text Labels to Graphs |
|
|
77 | (1) |
|
3.1.7 Plotting Rapidly Rising Functions |
|
|
78 | (6) |
|
3.1.7.1 Solving Axis Scaling Problems |
|
|
81 | (2) |
|
3.1.7.2 Positioning the Legend |
|
|
83 | (1) |
|
|
84 | (3) |
|
|
87 | (2) |
|
|
89 | (2) |
|
3.2 Plotting in Three Dimensions |
|
|
91 | (12) |
|
3.2.1 Plotting Functions of x, y, and z |
|
|
91 | (2) |
|
3.2.2 Plotting Multiple Surfaces |
|
|
93 | (1) |
|
3.2.3 Plotting in Spherical Coordinates |
|
|
94 | (1) |
|
3.2.4 Plotting in Cylindrical Coordinates |
|
|
95 | (1) |
|
3.2.5 Parametric Surface Plots |
|
|
96 | (2) |
|
3.2.6 Plotting Discrete Three-Dimensional Data |
|
|
98 | (1) |
|
|
99 | (4) |
4 Programming Maxima |
|
103 | (16) |
|
|
103 | (3) |
|
4.2 Writing Multiline Functions |
|
|
106 | (2) |
|
|
108 | (1) |
|
|
109 | (1) |
|
|
110 | (4) |
|
|
114 | (5) |
|
|
114 | (2) |
|
|
116 | (1) |
|
|
117 | (1) |
|
|
118 | (1) |
5 Algebra |
|
119 | (30) |
|
|
119 | (5) |
|
|
120 | (2) |
|
5.1.2 Reindexing and Combining Sums |
|
|
122 | (1) |
|
5.1.3 Applying Functions to Sums and Products |
|
|
123 | (1) |
|
|
124 | (2) |
|
|
126 | (15) |
|
5.3.1 Simplifying Equations |
|
|
126 | (1) |
|
5.3.2 Simplifying Trigonometric and Exponential Functions |
|
|
127 | (1) |
|
5.3.3 Extracting Expressions From an Equation |
|
|
128 | (3) |
|
5.3.4 Expanding Expressions |
|
|
131 | (3) |
|
5.3.5 Factoring Expressions |
|
|
134 | (1) |
|
|
135 | (3) |
|
5.3.7 Solving an Equation Symbolically |
|
|
138 | (2) |
|
5.3.7.1 Handling Multiple Solutions |
|
|
139 | (1) |
|
5.3.8 Solving an Equation Numerically |
|
|
140 | (1) |
|
|
141 | (3) |
|
5.4.1 Eliminating Variables |
|
|
141 | (2) |
|
5.4.2 Solving Systems of Equations Without Elimination |
|
|
143 | (1) |
|
|
144 | (5) |
|
5.5.1 Piecewise Linear Interpolation |
|
|
146 | (1) |
|
5.5.2 Spline Interpolation |
|
|
147 | (2) |
6 Differentiation, Integration, and Minimization |
|
149 | (44) |
|
|
149 | (4) |
|
6.1.1 Limits for Discontinuous Functions |
|
|
151 | (1) |
|
6.1.2 Limits for Indefinite Functions |
|
|
152 | (1) |
|
|
153 | (1) |
|
|
154 | (10) |
|
6.3.1 Explicit Partial and Total Derivatives |
|
|
156 | (1) |
|
6.3.2 Derivatives Evaluated at a Specific Point |
|
|
157 | (1) |
|
6.3.3 Higher-Order Derivatives |
|
|
158 | (1) |
|
|
159 | (1) |
|
6.3.5 Assigning Partial Derivatives |
|
|
160 | (2) |
|
6.3.5.1 Partial Derivatives from Total Differential Expansions |
|
|
161 | (1) |
|
6.3.5.2 Writing Total Differential Expansions in Terms of New Variables |
|
|
161 | (1) |
|
6.3.6 Implicit Differentiation |
|
|
162 | (2) |
|
6.4 Maxima, Minima, and Inflection Points |
|
|
164 | (9) |
|
6.4.1 Critical Points of Surfaces |
|
|
167 | (2) |
|
6.4.2 Numerical Minimization |
|
|
169 | (4) |
|
|
173 | (13) |
|
6.5.1 Integration Constants |
|
|
174 | (1) |
|
6.5.2 Definite Integration |
|
|
174 | (1) |
|
6.5.3 When Symbolic Integration Fails |
|
|
175 | (3) |
|
6.5.4 Numerical Integration |
|
|
178 | (4) |
|
6.5.4.1 Numerical Integration over Infinite Intervals |
|
|
179 | (1) |
|
6.5.4.2 Numerical Integration with Strongly Oscillating Integrands |
|
|
180 | (1) |
|
6.5.4.3 Numerical Integration with Discontinuous Integrands |
|
|
181 | (1) |
|
6.5.5 Multiple Integration |
|
|
182 | (1) |
|
6.5.6 Discrete Integration |
|
|
183 | (3) |
|
|
186 | (1) |
|
6.6.1 Testing Power Series for Convergence |
|
|
186 | (1) |
|
|
187 | (6) |
|
6.7.1 Exploring Function Properties with Taylor Series |
|
|
188 | (2) |
|
|
190 | (1) |
|
6.7.3 Taylor Series for Multivariate Functions |
|
|
191 | (1) |
|
6.7.4 Approximating Taylor Series |
|
|
191 | (2) |
7 Matrices and Vectors |
|
193 | (34) |
|
|
193 | (7) |
|
|
194 | (1) |
|
|
195 | (1) |
|
7.1.3 Vector Lengths and Angles |
|
|
196 | (1) |
|
|
197 | (1) |
|
|
198 | (1) |
|
|
199 | (1) |
|
|
200 | (17) |
|
|
201 | (1) |
|
|
201 | (1) |
|
|
202 | (1) |
|
|
203 | (3) |
|
7.2.5 The Inverse of a Matrix |
|
|
206 | (1) |
|
|
207 | (4) |
|
7.2.7 Eigenvalues and Eigenvectors |
|
|
211 | (6) |
|
7.2.7.1 Application: Energies and Molecular Orbitals of Ethylene |
|
|
212 | (2) |
|
7.2.7.2 Eigenvalues and Eigenvectors for Symmetric Matrices |
|
|
214 | (2) |
|
7.2.7.3 Matrix Diagonalization |
|
|
216 | (1) |
|
|
217 | (10) |
|
7.3.1 Derivative of a Vector with Respect to a Scalar |
|
|
217 | (1) |
|
|
218 | (2) |
|
|
220 | (2) |
|
|
222 | (2) |
|
|
224 | (1) |
|
|
225 | (2) |
8 Error Analysis |
|
227 | (30) |
|
8.1 Classifying Experimental Errors |
|
|
227 | (3) |
|
|
229 | (1) |
|
|
230 | (1) |
|
|
230 | (8) |
|
8.2.1 Discrete Probability Distributions |
|
|
230 | (2) |
|
8.2.2 The Poisson Distribution |
|
|
232 | (3) |
|
8.2.3 Continuous Probability Distributions |
|
|
235 | (1) |
|
8.2.4 The Normal Distribution |
|
|
236 | (2) |
|
|
238 | (3) |
|
8.3.1 Standard Error of the Mean |
|
|
240 | (1) |
|
8.3.2 Confidence Interval of the Mean |
|
|
240 | (1) |
|
|
241 | (8) |
|
8.4.1 Comparing a Mean with a True Value |
|
|
243 | (1) |
|
8.4.2 Comparing Variances |
|
|
244 | (2) |
|
8.4.3 Comparing Two Sample Means |
|
|
246 | (3) |
|
|
249 | (8) |
|
8.5.1 Propagation of Independent Systematic Errors |
|
|
249 | (2) |
|
8.5.2 Propagation of Independent Random Errors |
|
|
251 | (2) |
|
8.5.3 Covariance and Correlation |
|
|
253 | (4) |
9 Fitting Data to a Straight Line |
|
257 | (42) |
|
9.1 The Ordinary Least-Squares Method |
|
|
259 | (15) |
|
9.1.1 Using Built-In Functions |
|
|
260 | (3) |
|
9.1.2 Error Estimates for the Slope and the Intercept |
|
|
263 | (3) |
|
9.1.3 The Determination Coefficient |
|
|
266 | (2) |
|
|
268 | (3) |
|
9.1.5 Testing the Fit Parameters |
|
|
271 | (1) |
|
9.1.6 Testing for Lack-of-Fit |
|
|
272 | (2) |
|
9.2 Multiple Linear Regression |
|
|
274 | (11) |
|
9.2.1 Matrix Form of Multiple Linear Regression |
|
|
275 | (2) |
|
9.2.2 Estimating the Errors in the Fit Parameters in MLR |
|
|
277 | (1) |
|
9.2.3 Example: Microwave Rotational Spectrum of HCl |
|
|
278 | (3) |
|
9.2.4 Detecting and Dealing with Outliers |
|
|
281 | (4) |
|
|
285 | (4) |
|
9.3.1 The Fit Parameters in WLS |
|
|
286 | (1) |
|
9.3.2 Error Estimates for the WLS Fit Parameters |
|
|
286 | (1) |
|
9.3.3 Finding the Weights |
|
|
287 | (1) |
|
9.3.4 Residual Analysis in WLS |
|
|
288 | (1) |
|
9.3.5 Evaluating Goodness-of-Fit |
|
|
288 | (1) |
|
9.4 Fitting Data to a Line with Errors in Both X and Y |
|
|
289 | (5) |
|
9.4.1 Finding Fit Parameters in TLS |
|
|
290 | (2) |
|
9.4.2 Error Estimates for the TLS Fit Parameters |
|
|
292 | (1) |
|
9.4.3 Assessing Goodness-of-Fit in TLS |
|
|
293 | (1) |
|
9.4.4 Multiple Linear Regression with TLS |
|
|
293 | (1) |
|
9.5 Calibration and Standard Additions |
|
|
294 | (5) |
|
9.5.1 Error Estimates for Calibrated Values |
|
|
294 | (1) |
|
|
295 | (4) |
10 Fitting Data to a Curve |
|
299 | (18) |
|
10.1 Transforming Data to a Linear Form |
|
|
299 | (3) |
|
10.2 Polynomial Least-Squares Fitting |
|
|
302 | (4) |
|
10.2.1 How Many Fit Parameters Are Needed? |
|
|
304 | (2) |
|
10.3 Nonlinear Least-Squares Models |
|
|
306 | (4) |
|
10.4 Estimating Error in Nonlinear Fit Parameters |
|
|
310 | (7) |
|
10.4.1 Estimating Parameter Errors with the Jackknife Method |
|
|
311 | (2) |
|
10.4.2 Estimating Parameter Errors with the Bootstrap Method |
|
|
313 | (4) |
11 Differential Equations |
|
317 | (26) |
|
11.1 Symbolic Solutions of ODEs |
|
|
318 | (7) |
|
11.1.1 Initial Value Problems |
|
|
320 | (2) |
|
11.1.2 Boundary Value Problems |
|
|
322 | (3) |
|
11.2 Power Series Solution of ODEs |
|
|
325 | (4) |
|
|
329 | (6) |
|
11.3.1 Direction Fields with Adjustable Parameters |
|
|
331 | (1) |
|
11.3.2 Direction Fields and Autonomous Equations |
|
|
332 | (3) |
|
11.4 Solving Systems of Linear Differential Equations |
|
|
335 | (3) |
|
11.5 Numerical Solution of ODEs |
|
|
338 | (2) |
|
11.6 Solving Partial Differential Equations |
|
|
340 | (3) |
12 Operators and Integral Transforms |
|
343 | (16) |
|
|
344 | (3) |
|
|
347 | (4) |
|
|
351 | (6) |
|
12.3.1 The Fast Fourier Transform |
|
|
355 | (2) |
|
12.4 The Laplace Transform |
|
|
357 | (2) |
Glossary |
|
359 | (8) |
References |
|
367 | (4) |
Index |
|
371 | |