This repository contains the notes and codes of the book Doing math with python. Exploring how to use Programming to Explore Algebra, Statistics, Calculus, and More.
The notes contain the modules outlined below:
| No. |
Module |
Gist |
| 1 |
Work with Numbers |
Basic Mathematical OperationsDifferent Kinds of NumbersGet User InputWrite Programs That Do the Math for You |
| 2 |
Visualize Data with Graphs |
Understand the Cartesian Coordinate PlaneWork with Lists and TuplesCreate Graphs with MatplotlibPlot with Formulas |
| 3 |
Describe Data with Statistics |
MeanMedianFind the Mode and Creating a Frequency TableMeasure the DispersionCalculate the Correlation Between Two Data Sets Scatter Plots Read Data from Files |
| 4 |
Algebra and Symbolic Math with SymPy |
Define Symbols and Symbolic Operations Work with ExpressionsSolve EquationsPlot Using SymPy |
| 5 |
Play with Sets and Probability |
What’s a Set? Probability |
| 6 |
Draw Geometric Shapes and Fractals |
Geometric Shapes with Matplotlib’s PatchesDraw Fractals |
| 7 |
Solve Calculus Problems |
What Is a Function?Assumptions in SymPyThe Limit of FunctionsThe Derivative of FunctionsHigher-Order Derivatives and Finding the Maxima and MinimaThe Global Maximum Using Gradient AscentThe Integrals of Functions Probability Density Functions |
| 8 |
Programming Challenges |
$ |