Description
Book SynopsisDoing Math with Python shows you how to use Python to delve into high school level math topics like statistics, geometry, probability, and calculus. You ll start with simple projects, like a factoring program and a quadratic-equation solver, and then create more complex projects once you ve gotten the hang of things. Along the way, you ll discover new ways to explore math and gain valuable programming skills that you ll use throughout your study of math and computer science. Learn how to: Describe your data with statistics, and visualize it with line graphs, bar charts, and scatter plots Explore set theory and probability with programs for coin flips, dicing, and other games of chance Solve algebra problems using Python s symbolic math functions Draw geometric shapes and explore fractals like the Barnsley fern, the Sierpinski triangle, and the Mandelbrot set Write programs to find derivatives and integrate functions Creative coding challenges and applied examples help you see how
Trade Review"Saha does an excellent job providing a clear link between Python and upper-level math concepts, and demonstrates how Python can be transformed into a mathematical stage. This book deserves a spot on every geometry teacher’s bookshelf."
—School Library Journal
Table of ContentsIntroduction
Chapter 1: Working with Numbers
Chapter 2: Visualizing Data with Graphs
Chapter 3: Describing Data with Statistics
Chapter 4: Algebra and Symbolic Math with SymPy
Chapter 5: Playing with Sets and Probability
Chapter 6: Drawing Geometric Shapes and Fractals
Chapter 7: Solving Calculus Problems
Afterword
Appendix A: Software Installation
Appendix B: Overview of Python Topics