CHAPTER 36 / 40
Calculus in Python: Numerical and Symbolic Methods
4 lessons · Explore, experiment and understand.
Let’s figure it out.
Ask me about this course or where to start.
- Step 150~10mCode · 43
Numerical Differentiation and Newton's Method
Turn the limit definition of the derivative into code — approximate it with finite differences, watch the error shrink (and, eventually, gro…
Open lesson - Step 151~5mCode · 42
Numerical Integration — From Riemann Sums to SciPy
Code up right/left/midpoint Riemann sums and reproduce chapter 29's hand-verified numbers exactly, then graduate to the trapezoid rule and s…
Open lesson - Step 152~5mCode · 32🎯Quick win
Symbolic Calculus with SymPy
Everything so far has been numeric — approximate numbers in, approximate numbers out. SymPy does calculus symbolically: exact formulas in, e…
Open lesson - Step 153~5mCode · 41🎯Quick win
Visualizing Functions, Derivatives, and Tangent Lines with Matplotlib
Close out this chapter by drawing the ideas: a function next to its derivative, a tangent line sliding along a curve across several static f…
Open lesson