Learn Calculus with Python: A Hands-On Introduction to Real-World Modeling and Simulation

Learn Calculus with Python: A Hands-On Introduction to Real-World Modeling and Simulation book cover

Learn Calculus with Python: A Hands-On Introduction to Real-World Modeling and Simulation

Author(s): Nick McIntyre (Author)

  • Publisher: No Starch Press
  • Publication Date: January 5, 2027
  • Language: English
  • Print length: 400 pages
  • ISBN-10: 1718504489
  • ISBN-13: 9781718504486

Book Description

See calculus in action with Python, visualization, and real-world applications.

The world around us is being designed and built using calculus. It’s a beautiful subject that makes more sense when you can see what it does.

Learn Calculus with Python turns calculus into something you can experiment with. You’ll begin by programming a virtual turtle, and as you shrink its steps you’ll arrive at limits, derivatives, integrals, and finally the fundamental theorem of calculus. Along the way, you’ll write a graphing calculator, watch integrals accumulate area, and move objects through space using differential equations. The code lets you see the math at work.

You’ll use calculus and the book’s interactive Jupyter Notebook coding environment to:

  • Measure income inequality with an integral
  • Simulate gravity and send two bodies into orbit
  • Plot the Lorenz system to watch chaos emerge in the atmosphere
  • Train a neuron using backpropagation and gradient descent
  • Break an audio signal into its frequencies with the fast Fourier transform

More than 200 exercises take the ideas further. You’ll create ecosystems, simulate urban air pollution, explore supply and demand, predict wind turbine output, and model disease outbreaks and swarming behavior. You’ll derive solutions by hand, create mathematical models, and build simulations of your own.

By the end, you’ll understand the math needed to model systems that change over time and be able to write code to see what happens next.

REQUIREMENTS: Algebra and geometry, but no previous programming experience. You’ll find all the Python you need in the book. The notebooks run in your browser at https://calculus.dev with no installations required.

Editorial Reviews

Editorial Reviews

Review

"Learn Calculus with Python is an engaging and unique primer for those eager to learn calculus in an intuitive and useful way. Beyond covering the basics of calculus and Python, Nick discusses how to translate clean mathematical equations into numerical approximations that can be solved by a computer. He introduces many real-world examples to help readers understand and appreciate mathematics better. I highly recommend this book for readers of all ages interested in learning (or re-learning) calculus."—Mark Z. Jacobson, Professor of Civil and Environmental Engineering, Stanford University"This well-thought-out book about calculus, applied math, and Python programming is an accessible introduction that provides learners with a solid analytical foundation. McIntyre’s clear writing style demystifies complex topics with exercises that guide the reader through the learning objectives. The book is designed to foster agency and build confidence in applying advanced math through Python tools. A must-have for any student who learns best by doing!"—James Schmitz, Artist and Author of the py5 Creative Coding Framework

About the Author

Nick McIntyre teaches high school mathematics, physics, robotics, and computer science in Texas. His passion projects range from high-tech art installations to a real-time flood reporting system built during Hurricane Harvey. He’s also worked to make programming and STEM education more accessible through projects with the Processing Foundation and Google Summer of Code.

View on Amazon

未经允许不得转载:Wow! eBook » Learn Calculus with Python: A Hands-On Introduction to Real-World Modeling and Simulation