Applying Math with Python: Over 70 practical recipes for solving real-world computational math problems, 2nd Edition 2nd ed. Edition

by Sam Morley

Publisher Finelybook 出版社： Packt Publishing; 2nd ed. edition (December 9, 2022)

Language 语言： English

pages 页数： 376 pages

ISBN-10 书号： 1804618373

ISBN-13 书号： 9781804618370

**Book Description**

Discover easy-to-follow solutions and techniques to help you to implement applied mathematical concepts such as probability, calculus, and equations using Python's numeric and scientific libraries

Key Features

Compute complex mathematical problems using programming logic with the help of step-by-step recipes

Learn how to use Python libraries for computation, mathematical modeling, and statistics

Discover simple yet effective techniques for solving mathematical equations and apply them in real-world statistics

**Book Description**

The updated edition of Applying Math with Python will help you solve complex problems in a wide variety of mathematical fields in simple and efficient ways. Old recipes have been revised for new libraries and several recipes have been added to demonstrate new tools such as JAX.

You'll start by refreshing your knowledge of several core mathematical fields and learn about packages covered in Python's scientific stack, including NumPy, SciPy, and Matplotlib. As you progress, you'll gradually get to grips with more advanced topics of calculus, probability, and networks (graph theory). Once you've developed a solid base in these topics, you'll have the confidence to set out on math adventures with Python as you explore Python's applications in data science and statistics, forecasting, geometry, and optimization. The final chapters will take you through a collection of miscellaneous problems, including working with specific data formats and accelerating code.

By the end of this book, you'll have an arsenal of practical coding solutions that can be used and modified to solve a wide range of practical problems in computational mathematics and data science.

What you will learn

Become familiar with basic Python packages, tools, and libraries for solving mathematical problems

Explore real-world applications of mathematics to reduce a problem in optimization

Understand the core concepts of applied mathematics and their application in computer science

Find out how to choose the most suitable package, tool, or technique to solve a problem

Implement basic mathematical plotting, change plot styles, and add labels to plots using Matplotlib

Get to grips with probability theory with the Bayesian inference and Markov Chain Monte Carlo (MCMC) methods

Who this book is for

Whether you are a professional programmer or a student looking to solve mathematical problems computationally using Python, this is the book for you. Advanced mathematics proficiency is not a prerequisite, but basic knowledge of mathematics will help you to get the most out of this Python math book. Familiarity with the concepts of data structures in Python is assumed.

Table of Contents

An Introduction to Basic Packages, Functions, and Concepts

Mathematical Plotting Using Matplotlib

Calculus and differential equations

Working with randomness

Trees and networks

Working with data and statistics

Regression and forecasting

Geometric problems

Finding optimal solutions

Improving your productivity