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
290
Most Probable Point Based Constraint Handling
amitsaha
1
89
Equality Constrained Multi-object
amitsaha
0
48
Other Decks in Education
See All in Education
Measuring your measuring
jonoalderson
0
240
MySmartSTEAM 2526
cbtlibrary
0
170
1125
cbtlibrary
0
150
ロータリー国際大会について~国際大会に参加しよう~:古賀 真由美 会員(2720 Japan O.K. ロータリーEクラブ・(有)誠邦産業 取締役)
2720japanoke
1
750
AIは若者の成長機会を奪うのか?
frievea
0
140
【ZEPホスト用メタバース校舎操作ガイド】
ainischool
0
150
Semantic Web and Web 3.0 - Lecture 9 - Web Technologies (1019888BNR)
signer
PRO
2
3.1k
The browser strikes back
jonoalderson
0
240
Introdución ás redes
irocho
0
510
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
180
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
260
吉岡研究室紹介(2025年度)
kentaroy47
0
840
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
26
Paper Plane (Part 1)
katiecoart
PRO
0
2.4k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
37
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
Writing Fast Ruby
sferik
630
62k
Balancing Empowerment & Direction
lara
5
830
[SF Ruby Conf 2025] Rails X
palkan
0
660
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
39
Side Projects
sachag
455
43k
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