Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Doing Math with Python - PyCon Australia, 2016
Search
Amit Saha
August 12, 2016
Education
1
49
Doing Math with Python - PyCon Australia, 2016
See my blog post for the demos:
https://doingmathwithpython.github.io/pyconau-dmwp.html
Amit Saha
August 12, 2016
Tweet
Share
More Decks by Amit Saha
See All by Amit Saha
PiCloud: Cloud Computing Simplified
amitsaha
1
270
Most Probable Point Based Constraint Handling
amitsaha
1
87
Equality Constrained Multi-object
amitsaha
0
44
Other Decks in Education
See All in Education
Virtual and Augmented Reality - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.6k
ふりかえり研修2025
pokotyamu
0
540
i-GIP 2025 中高生のみなさんへ資料
202200
0
220
Policing the Poor
oripsolob
0
440
Why Did Douglass Change His Mind?
oripsolob
0
480
Ch4_-_Cours_1.pdf
bernhardsvt
0
200
Implicit and Cross-Device Interaction - Lecture 10 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
1.7k
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visualisation (4019538FNR)
signer
PRO
1
2.3k
教員向け生成AI基礎講座(2025年3月28日 東京大学メタバース工学部 ジュニア講座)
luiyoshida
1
360
アジャイルやっていきを醸成する内製講座
nomuson
1
430
技術文章を書くための執筆技術と実践法(パラグラフライティング)
hisashiishihara
17
5.2k
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
140
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
It's Worth the Effort
3n
184
28k
Bash Introduction
62gerente
611
210k
Agile that works and the tools we love
rasmusluckow
329
21k
A Tale of Four Properties
chriscoyier
158
23k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
Site-Speed That Sticks
csswizardry
6
520
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
Transcript
Doing Math with Python Amit Saha https://echorand.me @echorand
Hi! I am @echorand (Thanks Facebook)
About me Author of “Doing Math with Python”, No Starch
Press, August, 2015 Contributor to SymPy, CPython, creator/maintainer of Fedora Scientific Contact: @echorand, amitsaha.in@gmail.com, http://echorand.me
Demos and slides http://bit.ly/mathwithpython
Why “Math with Python”? Interactive and enriching teaching and learning
experience
How? Tools: Python 3, SymPy, matplotlib http://python.org http://sympy.org http://matplotlib.org/
How much Math? Algebra Basic statistics, sets and Probability
How much Math? Random numbers Basic Calculus
How much Python? Defining and Calling functions Loops and Basic
Data structures
How much Python? Creating objects, attributes Calling methods on objects
Let’s get started! Python as a ..
#1. Scientific Calculator math, statistics, others (Notebook: Scientific Calculator)
Question time!
How many lines in a program to do this? Output
Input
#2. Really Awesome Calculator How to do all the math
with Python? SymPy, matplotlib
SymPy Basics Programs which understand x and y (Notebooks: SymPy
Basics - 1, 2, 3)
Create a graph y = 2x2 + 2x + 1
(Notebook: Awesome Calculator - 1)
Solve equations 2x2 + 2x + 1 = 0 (Notebook:
Awesome Calculator - 2)
Solve inequalities sin(x) + 1 <= 0 (Notebook: Awesome Calculator
- 3)
Question time!
Limit of a function (Notebook: Awesome Calculator - 4)
Derivative of a function (Notebook: Awesome Calculator - 5)
Integral of a function (Notebook: Awesome Calculator - 6)
Definite Integral of a function (Notebook: Awesome Calculator - 7)
#3. More than smart calculators Interactive notebooks, Animations
Uniform and Non-uniform random numbers (Notebook: Uniform and Non-uniform Random
numbers)
Interactive Notebooks (Notebook: Interactive Notebook Demo)
Interactive Barnsley Fern Non-uniform random numbers (Notebook: Interactive Barnsley Fern)
Interactive Mandelbrot Set (Notebook: Interactive Mandelbrot Set)
Animations (Notebook: Projectile Motion, py-files: projectile_animation.py)
Great base for the future Data Science, Machine Learning (Notebooks:
Gradient Descent, Simple Linear Regression)
That’s all. amitsaha.in@gmail.com @mathwithpython Check out: https://doingmathwithpython.github.io