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
▶Book Description
Python, one of the world's most popular programming languages, has a number of powerful packages to help you tackle complex mathematical problems in a simple and efficient way. These core capabilities help programmers pave the way for building exciting applications in various domains, such as machine learning and data science, using knowledge in the computational mathematics domain.
The book teaches you how to solve problems faced in a wide variety of mathematical fields, including calculus, probability, statistics and data science, graph theory, optimization, and geometry. You'll start by developing core skills and learning about packages covered in Python's scientific stack, including NumPy, SciPy, and Matplotlib. As you advance, you'll get to grips with more advanced topics of calculus, probability, and networks (graph theory). After you gain a solid understanding of these topics, you'll discover 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
⦁Get familiar with basic packages, tools, and libraries in Python for solving mathematical problems
⦁Explore various techniques that will help you to solve computational mathematical problems
⦁Understand the core concepts of applied mathematics and how you can apply them in computer science
⦁Discover how to choose the most suitable package, tool, or technique to solve a certain problem
⦁Implement basic mathematical plotting, change plot styles, and add labels to the plots using Matplotlib
⦁Get to grips with probability theory with the Bayesian inference and Markov Chain Monte Carlo (MCMC) methods
▶Key Features
⦁Compute complex mathematical problems using programming logic with the help of step-by-step recipes
⦁Learn how to utilize Python's libraries for computation, mathematical modeling, and statistics
⦁Discover simple yet effective techniques for solving mathematical equations and apply them in real-world statistics
▶Who This Book Is For
This book is for professional programmers and students looking to solve mathematical problems computationally using Python. Advanced mathematics knowledge is not a requirement, but a basic knowledge of mathematics will help you to get the most out of this book. The book assumes familiarity with Python concepts of data structures.
▶What this book covers
⦁ Chapter 1, Basic Packages, Functions, and Concepts, introduces some of the basic tools and concepts that will be needed in the rest of the book, including the main Python packages for mathematical programming, NumPy and SciPy.
⦁ Chapter 2, Mathematical Plotting with Matplotlib, covers the basics of plotting with Matplotlib, which is useful when solving almost all mathematical problems.
⦁ Chapter 3, Calculus and Differential Equations, introduces topics from calculus such as differentiation and integration, and some more advanced topics such as ordinary and partial differential equations.
⦁ Chapter 4, Working with Randomness and Probability, introduces the fundamentals of randomness and probability, and how to use Python to explore these ideas.
⦁ Chapter 5, Working with Trees and Networks, covers working with trees and networks (graphs) in Python using the NetworkX package.
⦁ Chapter 6, Working with Data and Statistics, gives various techniques for handling, manipulating, and analyzing data using Python.
⦁ Chapter 7, Regression and Forecasting, describes various techniques for modeling data and predicting future values using the Statsmodels package and scikit-learn.
⦁ Chapter 8, Geometric Problems, demonstrates various techniques for working with geometric objects in Python using the Shapely package.
⦁ Chapter 9, Finding Optimal Solutions, introduces optimization and game theory, which use mathematical methods to find the best solutions to problems.
⦁ Chapter 10, Miscellaneous Topics, covers an assortment of situations that you might encounter while solving mathematical problems using Python.