We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

Doing Math with Python

4.6 Filled star Filled star Filled star Filled star Half star
Based on 11 ratings
Xiaoqi Zhao

With this course, we'll go through the nice book "Doing Math with Python" (authored by Amit Saha) in full detail, demo to you every touched mathematical topics, like

  • manipulating units of measurement;

  • examining projectile motion;

  • calculating mean, median, and mode;

  • determining linear correlation;

  • solving algebraic equations;

  • describing the motion of a simple pendulum;

  • simulating dice games;

  • creating geometric shapes;

  • and finding the limits, derivatives, and integrals of functions.

Read more

With this course, we'll go through the nice book "Doing Math with Python" (authored by Amit Saha) in full detail, demo to you every touched mathematical topics, like

  • manipulating units of measurement;

  • examining projectile motion;

  • calculating mean, median, and mode;

  • determining linear correlation;

  • solving algebraic equations;

  • describing the motion of a simple pendulum;

  • simulating dice games;

  • creating geometric shapes;

  • and finding the limits, derivatives, and integrals of functions.

After the course, you'll be able write programes to take numbers and formulas as input, do the tedious calculations needed, and then spit out the solution or draw a graph.

You'll have chances to follow several programming challenges, you'll find those programs are powerful calculators for solving math problems. You'll also find the solutions to equations, calculate the correlation between sets of data, and determine the maximum value of a function, among other tasks. You'll also take some practice to simulate real-life events, such as projectile motions, a coin toss, or a die roll.

As mentioned by the book author, I do hope "you'll find that this new context for 'doing math' makes learning both programming and math more exciting, fun, and rewarding."

So, what you're still waitomg fpr? Let's start now and good luck.

Note: the source code are available in both Github and Gitee repository.

Enroll now

Here's a deal for you

Save money when you learn with a deal that may be relevant to this course.
All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.

What's inside

Learning objectives

  • Using python, be able to explore high school level mathematical topics
  • Learn how to programming data with graphs using python
  • Learn how to describing data with statistics
  • Grasp algebra and symbolic math with sympy in python
  • Learn how to play with sets and probablility
  • Learn hwo to drawing geometric shaps and fractals
  • Using python to solve certain calculus problems

Syllabus

Introduction
Opening and Introduction
Chapter 1: Working with Numbers
01-01 Basic Mathematical Operations
Read more

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Career center

Learners who complete Doing Math with Python will develop knowledge and skills that may be useful to these careers:
Computational Scientist
A Computational Scientist develops and applies advanced computational methods, algorithms, and simulations to address complex scientific and engineering challenges across diverse disciplines. This role often requires an advanced degree. The "Doing Math with Python" course is an exceptional fit for an aspiring Computational Scientist. It helps build a comprehensive foundation in applying programming to mathematics, including symbolic algebra with SymPy, solving calculus problems like derivatives and integrals, and creating sophisticated simulations. The experience of writing programs to handle numerical inputs, perform calculations, and visualize results directly mirrors the core work of a Computational Scientist in modeling and exploring scientific phenomena.
Data Scientist
A Data Scientist synthesizes expertise in statistics, computer science, and domain knowledge to extract insights from complex datasets and build predictive models. This multifaceted career demands strong programming and analytical capabilities. For an aspiring Data Scientist, the "Doing Math with Python" course helps build a comprehensive foundation, encompassing data visualization, descriptive statistics like correlation and percentiles, symbolic algebra, and probability. The chance to programmatically solve mathematical challenges and simulate events, combined with skills in reading and manipulating data from files, directly prepares learners to tackle real-world data science problems and develop robust analytical solutions. This role often requires an advanced degree.
Machine Learning Engineer
A Machine Learning Engineer designs, builds, and deploys algorithms that enable computers to learn from data, driving innovations in artificial intelligence. This demanding role requires a robust background in mathematics, statistics, and programming. The "Doing Math with Python" course is profoundly relevant for a Machine Learning Engineer, covering essential topics such as descriptive statistics, probability, algebra with SymPy for symbolic manipulation, and solving calculus problems including derivatives and gradient descent. The ability to program data with graphs and handle numerical operations in Python helps build the analytical and computational skills critical for developing and optimizing machine learning models. This career often requires an advanced degree.
Data Analyst
A Data Analyst is crucial for translating raw data into actionable insights, vital for strategic decision-making across industries. This role involves collecting, cleaning, analyzing, and visualizing data to identify trends and patterns. The "Doing Math with Python" course helps build a foundation in descriptive statistics, including calculating mean, median, mode, and correlation, which are core tasks in this career. Learners also gain practical experience in data visualization using Matplotlib and reading data from files, directly preparing them to create compelling reports and dashboards. Taking this course equips aspiring Data Analysts with the programming skills to automate analyses and efficiently handle numerical data, making it an excellent choice for entering this field.
Quantitative Analyst
A Quantitative Analyst, often called a "Quant," applies advanced mathematical and statistical methods to solve complex problems, typically in finance or risk management. This role involves building sophisticated models, performing statistical analysis, and developing algorithms. The "Doing Math with Python" course provides a strong conceptual understanding and practical experience in areas like statistics, probability, algebraic equation solving using SymPy, and calculus, including derivatives and integrals. The ability to simulate dice games and other probabilistic events, combined with Python programming for numerical tasks, is directly applicable. This course helps build the programming and mathematical modeling foundation essential for a rigorous Quantitative Analyst career, which often requires an advanced degree.
Operations Research Analyst
An Operations Research Analyst uses advanced analytical methods, including mathematical modeling, statistics, and optimization, to help organizations make better decisions and solve complex logistical and strategic problems. This career frequently requires an advanced degree. The "Doing Math with Python" course is highly relevant for an Operations Research Analyst, as it covers solving algebraic equations, statistical analysis, and probability. Crucially, the course includes implementing gradient descent and finding maxima and minima of functions—optimization techniques fundamental to operations research. The ability to simulate systems and programmatically handle complex calculations helps build the core quantitative skills needed in this field.
Physics Programmer
A Physics Programmer develops software that simulates physical phenomena, often within scientific research, engineering, or even the entertainment industry for games and visual effects. The "Doing Math with Python" course offers exceptionally relevant skills for a Physics Programmer. Learners directly engage in programming projectile motion, describing the motion of a simple pendulum, and animating figures based on physical laws. They delve into calculus for finding limits, derivatives, and integrals of functions, crucial for understanding dynamic systems. This foundation in applying mathematical concepts programmatically helps build the expertise needed to create accurate and compelling physics simulations.
Actuary
An Actuary assesses and manages financial risk, predominantly in the insurance and pension industries, by applying robust mathematical, statistical, and financial theories to analyze future uncertain events. This role generally requires an advanced degree and professional certifications. For an Actuary, the "Doing Math with Python" course is highly pertinent, covering core concepts in statistics, such as calculating mean, median, mode, and correlation, along with extensive work in probability. The course includes generating random numbers and simulating events, which are crucial for risk modeling. Learning to programmatically solve mathematical problems and work with probability density functions helps build foundational analytical skills essential for this profession.
Junior Software Engineer Scientific Applications
A Junior Software Engineer Scientific Applications develops and maintains software solutions specifically designed for scientific or quantitative analysis. This role involves translating complex mathematical models and algorithms into functional code. The "Doing Math with Python" course is highly relevant, providing hands-on experience in writing programs for mathematical operations, solving algebraic equations with SymPy, and implementing calculus problems. Learners also practice simulating real-life events like projectile motion and applying formulas. This course helps develop the foundational programming skills in Python necessary to build powerful calculators for scientific problems and contribute to robust scientific software development efforts.
Simulation Engineer
A Simulation Engineer develops and utilizes computer models to replicate and analyze the behavior of real-world systems or processes, aiding in design optimization and forecasting. This role requires strong programming and mathematical foundational skills. The "Doing Math with Python" course provides direct experience with simulating real-life events, such as projectile motions and dice games. Learners also gain proficiency in plotting with formulas, animating figures, and applying calculus to describe motion, which are all pertinent to building dynamic models. Understanding how to programmatically solve mathematical problems and visualize data can significantly prepare one for the complex modeling challenges a Simulation Engineer faces.
Statistician
A Statistician designs studies, collects, analyzes, and interprets numerical data to identify patterns and draw conclusions, influencing decisions in various sectors from healthcare to market research. This course is invaluable for an aspiring Statistician as it covers core statistical concepts such as finding the mean, median, mode, measuring dispersion, calculating correlation, and creating frequency tables. Learners gain practical skills in describing data with statistics using Python, reading data from files, and creating scatter plots to visualize relationships. This specialized training in applying statistical methods programmatically helps build efficiency and depth in data analysis, which is fundamental to the field. A career as a Statistician generally requires an advanced degree.
Financial Modeler
A Financial Modeler constructs quantitative frameworks and computational tools to analyze financial performance, forecast future trends, and evaluate investment opportunities. This role relies heavily on mathematical rigor and programming acumen. The "Doing Math with Python" course is highly applicable for a Financial Modeler, as it covers solving algebraic equations, performing statistical calculations like mean and correlation, and working with probability concepts. The ability to write programs that take numbers and formulas as input to perform tedious calculations and generate visual output, such as plotting expenses, directly translates to building sophisticated financial models and scenario analyses.
Biophysicist
A Biophysicist explores biological systems using principles and methods traditionally employed in physics, often involving complex mathematical modeling, computational simulations, and data analysis. This role generally requires an advanced degree. While "Doing Math with Python" focuses on general mathematical principles, the course provides a foundational toolkit that may be helpful for a Biophysicist. It covers data visualization, descriptive statistics, solving algebraic equations, and applying calculus principles. The ability to programmatically model phenomena and analyze data helps build vital computational problem-solving skills, which are increasingly important for quantitatively studying biological processes and creating predictive models.
Geomatics Engineer
A Geomatics Engineer works with geospatial data, applying mathematical, computational, and surveying techniques to map, measure, and manage the Earth's surface and features. For a Geomatics Engineer, the "Doing Math with Python" course may be useful by helping build a foundation in geometry and data visualization. Learners draw geometric shapes, work with Cartesian coordinates, and program data with graphs using Matplotlib, skills that are relevant for representing spatial information. The ability to manipulate units of measurement and solve algebraic equations programmatically can also be pertinent for various calculations in geographic information systems and spatial analysis.
Technical Artist Game Development
A Technical Artist Game Development acts as a crucial bridge between artistic vision and technical implementation in game production, often creating tools and systems. For a Technical Artist Game Development, the "Doing Math with Python" course may be useful as it helps build a foundational understanding of geometry and animation. Learners work with drawing geometric shapes, animating figures, and applying transformations of points in a plane, directly relevant to visual effects and procedural content generation. The course's focus on programming mathematical concepts and simulating real-life events like projectile motion also helps develop skills applicable to game physics and interactive experiences.

Reading list

We've selected 50 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Doing Math with Python.
Seminal work on the grammar of graphics, a formal language for describing data visualizations. It covers a wide range of topics, from the basics of the grammar of graphics to the use of the grammar of graphics to create a variety of charts and graphs.
This classic book by Edward Tufte must-read for anyone interested in data visualization. It covers a wide range of topics, from the principles of visual perception to the design of effective charts and graphs.
Part IV delivers the clearest conceptual explanation of Matplotlib's dual interfaces (MATLAB-style state machine vs. object-oriented Figure/Axes methods), subplot grids, custom colormaps, tick formatters, and Seaborn integration.
Is an excellent starting point for anyone new to Python or programming in general. It covers fundamental programming concepts and Python basics with a hands-on, project-based approach, making it very practical for beginners. The third edition is updated to cover newer Python versions and is widely recommended for its clear explanations and engaging projects. It's often used as an introductory textbook.
Chapter 9 walks data analysts through integrating Matplotlib directly with pandas Series and DataFrames, configuring figure subplots, annotating time-series turning points, and exporting high-DPI vector graphics.
A seminal work in the field of statistical learning, this book covers advanced topics at the intersection of statistics and machine learning. It key reference for graduate students, researchers, and professionals working in data science and related areas. While mathematically rigorous, it provides in-depth coverage of modern statistical techniques.
Ideal for beginners who want to quickly apply Python to practical tasks. focuses on using Python to automate everyday computer tasks, such as working with files, web scraping, and sending emails. It assumes no prior programming experience and is highly regarded for its clear, step-by-step instructions and focus on immediate productivity gains. The second edition widely used and practical resource.
Is specifically geared towards data scientists and provides a practical guide to statistical concepts relevant in the field. It focuses on the statistical methods most useful in a data science context and includes code examples in R and Python. It's highly relevant for professionals and graduate students applying statistics in data-driven roles.
Over 150 self-contained recipes solve everyday plotting tasks in Matplotlib, from polar charts, logarithmic axes, and GridSpec layouts to embedding interactive canvases inside Tkinter, PyQt5, and wxPython GUI applications.
Provides an accessible introduction to causal inference, a crucial topic in contemporary statistics and data science for determining cause-and-effect relationships. It's suitable for graduate students and researchers in social sciences, economics, and data science. The book uses a modern approach and includes coding examples, making it highly practical for applied work.
Considered a classic in the field, this comprehensive textbook covers both probability and statistics in depth. It's often used in graduate-level courses and provides a rigorous treatment of the subject matter. is excellent for deepening one's theoretical understanding and valuable reference for researchers and professionals.
This third volume continues the in-depth exploration of SymPy's capabilities. It is suitable for users who want to gain a deep and comprehensive understanding of the library's advanced features and potential applications. It serves as a valuable reference for complex symbolic computation tasks.
This open-source textbook provides a solid foundation in introductory statistics, covering a wide range of topics with clear explanations and real-world examples. It's suitable for high school and undergraduate students and is often used as a primary textbook in introductory courses. The book includes numerous datasets and exercises, making it a practical resource for learning by doing.
Provides a comprehensive overview of data visualization, covering the basics of visual perception, data types, and chart types. It great resource for beginners who want to learn the fundamentals of data visualization.
Structured tutorial guiding Python developers through styling stylesheets, customizing legends and annotations, plotting geographical basemaps, and integrating Matplotlib into web backends like Flask and Django.
A classic textbook on real analysis, covering topics such as limits, derivatives, and integrals. Provides a rigorous and in-depth treatment of the subject matter.
Provides a comprehensive treatment of measure theory. It is written in a clear and concise style, and it includes numerous examples and practice problems.
This textbook provides a comprehensive overview of calculus, covering everything from the basics to more advanced topics. It is written in a clear and engaging style, and it includes numerous examples and practice problems.
Is highly recommended for intermediate to advanced Python programmers looking to write more idiomatic and efficient code. It explores Python's often-overlooked features and best practices, delving into topics like data structures, the Python data model, and metaprogramming. It's a valuable resource for deepening understanding and is considered a must-read for those aiming for mastery.
Developed from popular Harvard lectures, this book provides an intuitive introduction to probability, focusing on understanding concepts through examples and applications. It is suitable for undergraduates and can be a good supplementary resource for those in data science and related fields. An updated edition was published in 2019.
Offers a concise yet comprehensive overview of the essential topics in statistical inference, suitable for students with a strong mathematical background. It's often used in graduate-level statistics and machine learning programs. The book provides a solid theoretical foundation and covers a wide range of modern topics, making it relevant for contemporary applications.
Demonstrates how to combine Python data processing and exploratory Matplotlib charts with interactive D3.js web delivery, guiding engineers through end-to-end visual analytics.
Provides a practical introduction to machine learning using Python and the scikit-learn library. It's ideal for Python programmers interested in entering the field of machine learning and data science. It covers essential concepts and provides hands-on examples.
This book, also by Sheldon Ross, focuses more on the applications of probability theory through the use of models. It covers stochastic processes and their applications in various fields, making it valuable for undergraduates and graduate students in applied areas. It common textbook in universities.
Offers a hands-on approach to computer symbolic computation using Python, with a strong focus on exact results. It is highly relevant for understanding the principles behind symbolic math systems like SymPy and provides a solid foundation for using the library effectively. Published recently, it covers contemporary aspects of the field.
True to its title, this book offers a straightforward and accessible introduction to statistical concepts and techniques. It's particularly useful for undergraduate students and those in fields outside of statistics who need to understand and interpret statistical results. Each chapter clearly explains a statistical technique, when to use it, how it works, and provides examples of how to write about the results.
This well-regarded textbook provides a comprehensive introduction to mathematical statistics with a focus on data analysis. It's suitable for advanced undergraduate and graduate students in statistics and related fields. The book emphasizes the connection between statistical theory and real-world data problems, making it a valuable reference.
This definitive text on the analysis of categorical data, covering a wide range of models and methods. It standard reference for graduate students and researchers in statistics and various applied fields. The book provides comprehensive coverage of this important area of statistics.
Focuses on the process of building and evaluating predictive models using a variety of statistical and machine learning techniques. It's a practical guide for students and professionals involved in predictive analytics. The book covers essential concepts and provides detailed examples, making it a valuable resource for applied work.
Offers concise, code-first recipes for controlling Matplotlib styles, annotations, vector outputs, and statistical plots to produce crisp scientific graphics quickly.
Delves into the algorithmic aspects of algebraic structures and their applications using Python. It is highly relevant for understanding the theoretical underpinnings of computer algebra systems like SymPy and exploring more advanced topics in computational algebra. Published in 2023, it covers contemporary theory and practice.
Offers a collection of tips and tricks to help intermediate Python developers write more professional and Pythonic code. It provides concise explanations and practical examples of various Python features, making it a useful resource for leveling up coding skills and discovering best practices.
Rigorous, measure-theory based introduction to probability theory, typically used for graduate-level courses. It delves deeply into the theoretical underpinnings of probability and is essential for those seeking a deep understanding. It widely cited and respected text in the field.
Is an excellent starting point for anyone looking to gain a broad understanding of statistics without getting bogged down in complex formulas. It uses real-world examples and engaging prose to explain fundamental statistical concepts, making it ideal for high school students and undergraduates. It serves as valuable background reading to demystify statistics and build intuition before tackling more technical material.
Aimed at beginners, this book provides a step-by-step introduction to SymPy. It's ideal for gaining a broad understanding of symbolic mathematics with Python without requiring extensive prior knowledge. It covers fundamental concepts and practical applications for newcomers.
This textbook offers a solid theoretical foundation in mathematical statistics while also illustrating its practical applications. It is typically used in undergraduate programs for students majoring in statistics or related quantitative fields. The book helps solidify understanding of the mathematical underpinnings of statistical methods.
Teaches Python engineers how to turn static Matplotlib figures into responsive desktop and notebook widgets using event callbacks, custom pickers, and GUI toolkit integration.
Delves deep into Matplotlib's object-oriented architecture, custom backends, and event handling so Python developers can extend the library beyond standard plotting scripts.
Provides a comprehensive introduction to both probability and random processes, covering a broad range of topics with numerous examples. It is suitable for advanced undergraduates and graduate students in mathematics, statistics, and engineering.
This guide provides a collection of best practices, development workflows, and recommendations for writing idiomatic Python code. It's a valuable resource for developers who want to follow community conventions and improve their overall Python development process.
Emphasizes the importance of using statistics to build a convincing argument rather than just presenting numbers. It's a valuable resource for students and researchers across disciplines who need to effectively communicate statistical findings. It encourages a deeper understanding of the purpose and interpretation of statistical analysis.
Provides over seventy task-focused recipes for configuring Matplotlib subplots, custom ticks, colormaps, and 3D plots so engineers can solve everyday scientific visualization problems.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Doing Math with Python.
Advanced Linear Models for Data Science 2: Statistical...
Most relevant
Explore Einstein's theories of Relativity using Wolfram
Most relevant
Physics of Geometrical and Physical Optics
Most relevant
Physics of Light and Materials
Most relevant
Master Math by Coding in Python
Most relevant
Become a Geometry Master
Most relevant
Linear Regression and Modeling
Most relevant
Complete Mathematics Masterclass: College & University...
Most relevant
Physics 102 - Electric Charges and Fields
Most relevant

Udemy Buyer Protection & Guarantee

Verified partner policies & purchase protections

Global Marketplace Leader
Free Trial & Audit

Free Lecture Previews

Free preview video lectures available for all courses; optional 7-day free trial on Personal Plan subscriptions (cancel before trial ends to avoid conversion).

Return & Refund Policy

30-Day Money-Back Guarantee

30-day money-back guarantee on all eligible individual course purchases (provided course content has not been substantially consumed or downloaded). Subscription fees are non-refundable once billed.

Buyer Protections

Verified Academic & Industry Partner

Lifetime access to purchased individual courses and future updates, verifiable certificate of completion, and direct student Q&A forums.

Key Purchase Protections
30-day 100% money-back guarantee on course purchases
Lifetime access on web, mobile, and offline
Certificate of completion included with purchase
Direct instructor Q&A and active student community
OpenCourser Verified Partner Policy details last reviewed: 2026-10-22
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser