Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!

Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!

by Amit Saha


$28.61 $29.95 Save 4% Current price is $28.61, Original price is $29.95. You Save 4%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Friday, August 23


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

Creative coding challenges and applied examples help you see how you can put your new math and coding skills into practice. You’ll write an inequality solver, plot gravity’s effect on how far a bullet will travel, shuffle a deck of cards, estimate the area of a circle by throwing 100,000 "darts" at a board, explore the relationship between the Fibonacci sequence and the golden ratio, and more.

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.

Uses Python 3

Product Details

ISBN-13: 9781593276409
Publisher: No Starch Press
Publication date: 08/25/2015
Pages: 264
Sales rank: 384,636
Product dimensions: 6.90(w) x 9.10(h) x 0.80(d)
Lexile: 1130L (what's this?)
Age Range: 14 Years

About the Author

Amit Saha is a software engineer who has worked for Red Hat and Sun Microsystems. He created and maintains Fedora Scientific, a Linux distribution for scientific and educational users. He is also the author of Write Your First Program (Prentice Hall Learning).

Table of Contents

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
Appendix A: Software Installation
Appendix B: Overview of Python Topics

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews