Book description
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 quadraticequation 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.
Publisher resources
Table of contents
 Cover Page
 Title Page
 Copyright Page
 Dedication
 Brief Contents
 Contents in Detail
 Acknowledgments
 Introduction
 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
 What Is a Function?
 Assumptions in SymPy
 Finding the Limit of Functions
 Finding the Derivative of Functions
 HigherOrder Derivatives and Finding the Maxima and Minima
 Finding the Global Maximum Using Gradient Ascent
 Finding the Integrals of Functions
 Probability Density Functions
 What You Learned
 Programming Challenges
 Afterword
 Appendix A: Software Installation
 Appendix B: Overview of Python Topics
 Index
 Footnotes
 Resources
 About the Author
Product information
 Title: Doing Math with Python
 Author(s):
 Release date: August 2015
 Publisher(s): No Starch Press
 ISBN: 9781593276409
You might also like
book
Understanding Computation
Finally, you can learn computation theory and programming language design in an engaging, practical way. Understanding …
book
Designing Large Language Model Applications
Transformerbased language models are powerful tools for solving a variety of language tasks and represent a …
book
Think Bayes, 2nd Edition
If you know how to program, you're ready to tackle Bayesian statistics. With this book, you'll …
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …