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
52
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
280
Most Probable Point Based Constraint Handling
amitsaha
1
89
Equality Constrained Multi-object
amitsaha
0
48
Other Decks in Education
See All in Education
アントレプレナーシップ教育 ~ 自分で自分の幸せを決めるために ~
yoshizaki
0
120
今も熱いもの!魂を揺さぶる戦士の儀式:マオリ族のハカ
shubox
0
210
データ分析
takenawa
0
6.6k
2025年度春学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2025. 4. 24)
akiraasano
PRO
0
140
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
signer
PRO
0
2.4k
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.1k
Sponsor the Conference | VizChitra 2025
vizchitra
0
550
マネジメント「される側」 こそ覚悟を決めろ
nao_randd
10
5.4k
人になにかを教えるときに考えていること(2025-05版 / VRC-LT #18)
sksat
4
1k
計算情報学研究室 (数理情報学第7研究室)紹介スライド (2025)
tomonatu8
0
540
登壇未経験者のための登壇戦略~LTは設計が9割!!!~
masakiokuda
3
550
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
1.9k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Building Applications with DynamoDB
mza
95
6.5k
It's Worth the Effort
3n
185
28k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Documentation Writing (for coders)
carmenintech
72
4.9k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Designing for humans not robots
tammielis
253
25k
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,
[email protected]
, 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.
[email protected]
@mathwithpython Check out: https://doingmathwithpython.github.io