This practical, example-driven introduction teaches the foundations of the Mathematica language so it can be applied to solving concrete problems. This practical, example-driven introduction is designed for Mathematica users, new and accomplished, who wish to learn the foundations of the Mathematica programming language in order to apply it to the task of solving concrete problems in science, engineering, economics and finance, computational linguistics, geoscience, bioinformatics and so on. This practical, example-driven introduction is designed for Mathematica users, new and accomplished, who wish to learn the foundations of the Mathematica programming language in order to apply it to the task of solving concrete problems in science, engineering, economics and finance, computational linguistics, geoscience, bioinformatics and so on. Starting from first principles, this book covers all of the foundational material needed to develop a clear understanding of the Mathematica language, with a practical emphasis on solving problems. Concrete examples throughout the text demonstrate how Mathematica can be used to solve problems in science, engineering, economics/finance, computational linguistics, geoscience, bioinformatics, and a range of other fields. The book will appeal to students, researchers and programmers wishing to further their understanding of Mathematica. Designed to suit users of any ability, it assumes no formal knowledge of programming so it is ideal for self-study. Over 290 exercises are provided to challenge the reader’s understanding of the material covered and these provide ample opportunity to practice using the language. Mathematica notebooks containing examples, programs and solutions to exercises are available from www.cambridge.org/wellin. Preface 1. An introduction to Mathematica 2. The Mathematica language 3. Lists 4. Patterns and rules 5. Functional programming 6. Procedural programming 7. Recursion 8. Numerics 9. Strings 10. Graphics and visualization 11. Dynamic expressions 12. Optimizing Mathematica programs 13. Applications and packages References Solutions to exercises Index.