Doing Math with Python
Use Programming to Explore Algebra, Statistics, Calculus, and More!
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 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.
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.
Share Doing Math with Python