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
62
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Amit Saha
See All by Amit Saha
PiCloud: Cloud Computing Simplified
amitsaha
1
310
Most Probable Point Based Constraint Handling
amitsaha
1
92
Equality Constrained Multi-object
amitsaha
0
55
Other Decks in Education
See All in Education
AIがコードを書く時代に、何を教えるのか / What Should We Teach in the Age of AI-Generated Code?
ichiroc
0
140
Implicit and Cross-Device Interaction - Lecture 10 - Next Generation User Interfaces (4018166FNR)
signer
PRO
2
2.3k
良書紹介08_ 頭のいい子がやっているすごいグラフの読み方
bunnchinn3
0
130
[2026前期火5] 論理学(京都大学文学部 前期 第8回)「正規化定理の証明」
yatabe
0
260
チームの鏡になるー自分の癖を知ると、チームのパターンが見えてくる@スクフェス仙台
saorimurooka
0
110
[2026前期火5] 論理学(京都大学文学部 前期 第14回)「計算は、証明ではない——ハルシネーションを三層ハーモニーで診る」
yatabe
0
150
sepm-training-sample
levii
0
110
BITCOIN : Les fondamentaux !
rlifchitz
0
200
Del ojo entrenado a la visión computacional: evaluación de la severidad de enfermedades
emdelponte
0
110
[2026前期火5] 論理学(京都大学文学部 前期 第9回)「正規化の停止性——ヒドラゲームによる証明」
yatabe
0
210
【セーフィー】テクニカルライティング&コミュニケーション実践講座(26新卒エンジニア向け研修資料)
ymzaki_m4
0
280
[2026前期火5] 論理学(京都大学文学部 前期 第13回)「走って、止まって、積み上がる」
yatabe
0
150
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Automating Front-end Workflow
addyosmani
1370
210k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Producing Creativity
orderedlist
PRO
348
40k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
430
The Spectacular Lies of Maps
axbom
PRO
1
880
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
420
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
280
Building Adaptive Systems
keathley
44
3.2k
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