E-Book Overview
For more than 25 years, Mathematica has been the principal computation environment for millions of innovators, educators, students, and others around the world. This book is an introduction to Mathematica. The goal is to provide a hands-on experience introducing the breadth of Mathematica with a focus on ease of use. Readers get detailed instruction with examples for interactive learning and end-of-chapter exercises. Each chapter also contains authors' tips from their combined 50+ years of Mathematica use.
E-Book Content
HANDS-ON START TO WOLFRAM
MATHEMATICA ®
and Programming with the Wolfram Language™
SECOND EDITION
Cliff Hastings Kelvin Mischo Michael Morrison
Champaign
����� �� �������� Introduction vii
���� �
THE COMPLETE OVERVIEW 1
Chapter 1
The Very Basics 3
Chapter 2
A Sample Project in Mathematica 11
Chapter 3
Input and Output 21
Chapter 4
Word Processing and Typesetting 43
Chapter 5
Presenting with Slide Shows 59
Chapter 6
Fundamentals of the Wolfram Language 73
Chapter 7
Creating Interactive Models with a Single Command 93
Chapter 8
Sharing Mathematica Notebooks 115
Chapter 9
Finding Help 125
���� ��
EXTENDING KNOWLEDGE 133
Chapter 10
2D and 3D Graphics 135
Chapter 11
Visualizing Data 157
Chapter 12
Styling and Customizing Graphics 179
Chapter 13
Creating Figures and Diagrams with Graphics Primitives 213
Chapter 14
Algebraic Manipulation and Equation Solving 233
Chapter 15
Calculus 245
Chapter 16
Differential Equations 261
Chapter 17
Linear Algebra 271
Chapter 18
Probability and Statistics 289
Chapter 19
Importing and Exporting Data 305
Chapter 20
Data Filtering and Manipulation 327
Chapter 21
Working with Curated Data 359
Chapter 22
Using Wolfram|Alpha Data in Mathematica 393
Chapter 23
Statistical Functionality for Data Analysis 419
Chapter 24
Creating Programs 437
Chapter 25
Creating Parallel and GPU Programs 459
Index
477
INTRODUCTION
How to Use This Book Create Examples while Reading This book is meant to be an active companion during the process of learning how to use Mathematica® . The main body of the text will certainly provide insights into how Mathematica works, but the examples should be retyped as a starting point for individual exploration. Each chapter contains discussion, tips and a description of Mathematica functionality, along with actual examples that serve as starting points. Each chapter ends with additional exercises to emphasize comprehension, which can be used as an assignment to students or simply to work through on your own. No matter what format this book is viewed in, it is recommended that readers have Mathematica on the desktop or Mathematica Online™ immediately accessible to type the examples and work through the exercises. It is recommended that as readers work through the book, they save a new file for each chapter in Wolfram Notebook™ format (.nb), either locally or in the Wolfram Cloud™ , for future reference.
Any text in this type of styled box is meant to be a tip by the authors. The advice is meant to pass along experience gained from teaching thousands of people how to use Mathematica.
Part I: The Complete Overview Is Required Reading All new Mathematica users should work through chapters one through nine first to obtain the necessary basis of knowledge for the rest of the book. These chapters will