Название: One Hundred Physics Visualizations Using MATLAB, 2nd Edition
Автор: Dan Green
Издательство: World Scientific Publishing
Год: 2025
Страниц: 310
Язык: английский
Формат: pdf (true)
Размер: 50.3 MB
The MATLAB tools have evolved from scripts, to Apps and at present to Live code. The Live package is preferred because it combines text and equations with MATLAB code all in a single site. The results of that code, formerly shown separately, also appear in line and in this way the user can vary the parameters of the specific problem and explore immediately how the solutions vary in response. Indeed, the aim of this book is to use the ensemble of symbolic and numeric tools available in the MATLAB suite of programs to illustrate representative numerical solutions to about one hundred problems spanning several physics topics. The student typically works through the demonstration and alters the inputs using a Live script. This tool combines text, equations and solutions as figures and numerical or symbolic output all in a single Live script. The parametric variation is enabled using the Live tools of “edit fields”, “dropdown menus” and numerical “sliders”. MATLAB is a good vehicle for the computational tasks. It has a compiler, editor and debugger which are very useful and user friendly. The HELP utility is very extensive as is the complete documentation set. The MATLAB language is similar to a modern C++ or Python language. Indeed code conversion between MATLAB and Python is available which expands the pool of possible users of this text. MATLAB is a vector/matrix language which makes coding simple. Data is easily imported and exported in a variety of formats. Many tools are included with MATLAB. That fact drives the decision to use MATLAB tools to avoid unnecessary algebraic tedium in this text. Most problems are solved explicitly using the symbolic math tools. In general numerical results use the extensive MATLAB library of special functions and of numeric solvers of ordinary and differential equations.