# Doing Math with Python

### Use Programming to Explore Algebra, Statistics, Calculus, and More!

**Publisher:** No Starch Press

**Release Date:** August 2015

**Pages:** 264

#### Read on Safari with a 10-day trial

Start your free trial now Buy on AmazonWhere’s the cart? Now you can get everything on Safari. To purchase books, visit Amazon or your favorite retailer. Questions? See our FAQ or contact customer service:

1-800-889-8969 / 707-827-7019

support@oreilly.com

*Doing 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

Whether you're interested in math but have yet to dip into programming or you're a teacher looking to bring programming into the classroom, you'll find that Python makes programming easy and practical. Let Python handle the grunt work while you focus on the math.