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
46
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
260
Most Probable Point Based Constraint Handling
amitsaha
1
83
Equality Constrained Multi-object
amitsaha
0
40
Other Decks in Education
See All in Education
2024年度秋学期 統計学 第12回 分布の平均を推測する - 区間推定 (2024. 12. 11)
akiraasano
PRO
0
110
Evaluation Methods - Lecture 6 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
790
開発終了後こそ成長のチャンス!プロダクト運用を見送った先のアクションプラン
ohmori_yusuke
2
280
書を持って、自転車で町へ出よう
yuritaco
0
110
Unraveling JavaScript Prototypes
debug_mode
0
130
1106
cbtlibrary
0
440
The Gender Gap in the Technology Field and Efforts to Address It
codeforeveryone
0
310
Stratégie de marketing digital - les fondamentaux
martine
0
180
XML and Related Technologies - Lecture 7 - Web Technologies (1019888BNR)
signer
PRO
0
2.6k
Ch2_-_Partie_3.pdf
bernhardsvt
0
120
BEM FASILKOM UNEJ Navaratna
bemilkomunej24
0
130
2024年度秋学期 統計学 第6回 データの関係を知る(1)ー相関関係 (2024. 10. 30)
akiraasano
PRO
0
100
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Designing Experiences People Love
moore
139
23k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
A Philosophy of Restraint
colly
203
16k
Bash Introduction
62gerente
610
210k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
3k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
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