A Physicist's Guide To Mathematica®: Patrick T. Tam
A Physicist's Guide To Mathematica®: Patrick T. Tam
A Physicist's Guide To Mathematica®: Patrick T. Tam
to Mathematica®
SECOND EDITION
Patrick T. Tam
Department of Physics and Astronomy
Humboldt State University
Arcata, California
455
3.5.2. Two-Dimensional Graphics
3.5.3. Three-Dimensional Graphics 477
513
3.5.4. Exercises
3.6. Programming Styles 516
3.6.1. Procedural Programming 519
3.6.2. Functional Programming 524
3.6.3. Rule-Based 527
Programming 534
3.6.4. Exercises
3.7. Packages 537
537
3.7.1. Contexts
3.7.2. Context Manipulation 541
3.7.3. A Sample Package 543
550
3.7.4. Template for Packages
3.7.5. Exercises 551
553
II Physics with Mathematica
4 Mechanics 555
4.1. Falling Bodies 555
4.1.1. The Problem 556
4.1.2. Physics of the Problem 556
4.1.3. Solution with Mathematica 556
4.2. Projectile Motion 558
4.2.1. The Problem 558
4.2.2. Physics of the Problem 558
4.2.3. Solution with Mathematica 559
4.3. The Pendulum 561
4.3.1. The Problem 561
4.3.2. Physics of the Problem 562
4.3.3. Solution with Mathematica 563
4.4. The Spherical Pendulum 570
4.4.1. The Problem 570
4.4.2. Physics of the Problem 570
4.4.3. Solution with Mathematica 573
4.5. Problems 580
References 709
Index 713