Doing Math with Python
summary
Python 3 examples use the standard library (fractions, statistics) plus sympy and matplotlib to do real math: parsing an arbitrary single‑variable expression and plotting it in three lines, solving algebraic equations, inequalities, limits, derivatives and definite integrals also in about three lines each, and converting symbolic results to floating values with evalf. Live demos use a Jupyter notebook with interact sliders (animated projectile motion), and a small gradient‑descent linear regression built from sympy derivatives; demos generally run locally without internet.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:43About the book
- 1:12Getting the slides and demos
- 2:04Notebook
- 2:16Why Python
- 3:48Tools
- 4:25Math
- 5:12Python as
- 5:39Scientific Calculator
- 12:49Create a Graph
- 14:36Solve Equations
- 15:27Find Limits
- 19:08Can you do more
- 19:18Hit Help
- 21:47Mandelbrot
- 22:27Gradient Descent
- 25:09Questions
related talks
34mPython ate my Homework!
28mDerivations, Not Just Simulations: Teaching Applied Mathematics with Scientific Python
23mPython(x,y): diving into scientific Python
33mMaths Whimsy with Python
29mPyscript for Education
01h 00mIntroduction to Python
01h 38mBasic Python Packages for Science
55mDerivatives Analytics with Python & Numpy
