By reading this book - and working on the exercises - you will learn some programming, some modeling, and some simulation:
- With basic programming skills, you can create models for a wide range of physical systems. My goal is to help you develop these skills in a way you can apply immediately to real-world problems.
- This book presents the entire modeling process, including model selection, analysis, simulation, and validation. I explain this process in Chapter 1, and there are examples throughout the book.
- Simulation is an approach to modeling that uses computer programs to implement models and generate predictions. This book shows how simulations are used to run experiments, answer questions, and guide decision-making.
To make this book accessible to the widest possible audience, I try to minimize the prerequisites.
In particular, this book is intended for people who have never programmed before. I start from the beginning, define new terms when they are introduced, and present only the features you need, when you need them.
I assume that you know trigonometry and some calculus, but not much. If you understand that a derivative represents a rate of change, that's enough. You will learn about differential equations and some linear algebra, but I will explain what you need to know as we go along.
I assume you know basic physics, in particular the concepts of force, acceleration, velocity, and position. If you know Newton's second law of motion in the form F = ma, that's enough.
You will learn to use numerical methods to search for roots of non-linear equations, to solve differential equations, and to search for optimal solutions. You will learn how to use these methods first; then in Chapter 14 you will learn more about how they work. But if you can't stand the suspense, you can look "under the hood" whenever you want.
I have tried to present a small set of tools that provides the most versatility and power, to explain them as clearly as possible, and to give you chances to practice what you learn.
This book is available under a Creative Commons license, which means that you are free to copy, distribute, and modify it, as long as you attribute the source and don't use it for commercial purposes.
This open book is licensed under a Creative Commons License (CC BY-NC). You can download Physical Modeling in MATLAB ebook for free in PDF format (1.1 MB).
Table of Contents
by Allen Downey
Complexity science uses computation to explore the physical and social sciences. In Think Complexity, you'll use graphs, cellular automata, and agent-based models to study topics in physics, biology, and economics. Whether you're an intermediate-level Python programmer or a student of computational modeling, you'll delve into examples of complex...
by Kathrin Glau, Zorana Grbac, Matthias Scherer, Rudi Zagst
This book presents 20 peer-reviewed chapters on current aspects of derivatives markets and derivative pricing. The contributions, written by leading researchers in the field as well as experienced authors from the financial industry, present the state of the art in: - Modeling counterparty credit risk: credit valuation adjustment, debit valuation a...
by Jürgen Beyerer, Christian Kühnert, Oliver Niggemann
This book proceedings presents new approaches to Machine Learning for Cyber Physical Systems, experiences and visions. It contains some selected papers from the international Conference ML4CPS - Machine Learning for Cyber Physical Systems, which was held in Karlsruhe, October 23-24, 2018. Cyber Physical Systems are characterized by their ability to...
by Allen Downey
Modeling and Simulation in Python is an introduction to physical modeling using a computational approach. It is organized in three parts: - The first part presents discrete models, including a bikeshare system and world population growth. - The second part introduces first-order systems, including models of infectious disease, thermal systems, an...
by Andrea Bondavalli, Sara Bouchenak, Hermann Kopetz
Technical Systems-of-Systems (SoS) – in the form of networked, independent constituent computing systems temporarily collaborating to achieve a well-defined objective – form the backbone of most of today's infrastructure. The energy grid, most transportation systems, the global banking industry, the water-supply system, the military equipment, ...