numerical-methods-with-applications
1.0k 次下载
更新时间 2023/3/21
来自 github
numerical-凯发k8网页登录
or
curriculum module
created with r2021b. compatible with r2021b and later releases.
description
this curriculum module contains interactive that teach fundamental concepts and basic terminology related to designing and implementing numerical methods related to interpolation, numerical integration and differentiation, and numerical solutions to ordinary and partial differential equations.
these live scripts can be used as part of a lecture, as activities in an instructional setting, or as interactive assignments to be completed outside of class.
get started with the numerical methods with applications interactive examples
option 1: download to desktop download and unzip the repository. then, double-click the numericalmethods.prj file inside matlab®.
option 2: log in to your mathworks account to access your license. if you are associated with a university, use your university email to access a license.
solutions are available upon instructor request. if you would like to request solutions or have a question, contact the
from there, you can follow the landing page instructions to get started with the examples. the instructions inside the live scripts will guide you through the exercises and activities. get started with each live script by running it one section at a time. to stop running the script or a section midway (for example, if a loop is running longer than intended), click the stop button in the run section of the live editor tab in the matlab toolstrip.
prerequisite domain knowledge
this module assumes familiarity with basic programming concepts such as floating-point doubles and strings, structures including constants, vectors, matrices, arrays, control flows including if/else, for loops, and while loops, and how to use them in matlab. these ideas are all presented with interactive examples in . this module assumes familiarity with polynomials, derivatives, and integrals. to use the partial differential equation scripts, a student must be familiar with the concepts of partial derivatives and multivariable functions. these scripts do not assume knowledge of analytic solutions to ordinary or partial differential equations.
details
navigation.mlx this script brings together links and short descriptions of the content in the recommended order of use.
interpolation
this folder includes the interactive example script interpolation.mlx
that guides students through building
their own data set(s) using hand.mlx
and writing their own linear interpolation function and piecewise cubic
hermite interpolation function. the laboratory script trackstorms.mlx
allows students to apply the scripts
they have created to interpolate the paths of tropical cyclones from noaa data.
learning goals:
- define interpolation and explain how it is different from regression and extrapolation.
- demonstrate multiple solutions to an interpolation problem, even when interpolating by polynomials.
derivatives
this folder includes the interactive example script approximatingderivatives.mlx
that introduces the
method of taylor series approximation to create and analyze numerical approximations to derivatives of
different orders.
learning goals:
- determine numerical derivative approximations formulas.
- use taylor's theorem to calculate the order of the error for a numerical approximation to a derivative.
- demonstrate how numerical derivatives can magnify approximation errors.
integrals
this folder includes the interactive example script numericalintegration.mlx
that guides students
through building functions to compute forward and backward euler method approximations, a 2-point
gaussian approximation, and a simpson's rule approximation. the laboratory script measurelake.mlx
presents two maps of a lake from different points in time and guides students through collecting data
and realizing the complexities of numerically integrating from data.
learning goals:
- implement euler's method, gaussian 2-point approximations, and simpson's rule for numerical integration.
- explain why higher-order approximations may not be appropriate in applications.
ordinary differential equations
this folder includes the interactive example script diffeqs.mlx
that guides students through
implementing an euler method solver and a four-step runge-kutta method solver, and comparing the
results of their implementations to the built-in solver ode45
. the laboratory script
pendulum.mlx
offers students a chance to apply numerical solution methods to create increasingly
more realistic models of a simple pendulum.
learning goals:
- implement euler's method for first-order initial value problems.
- implement a four-step runge-kutta method.
partial differential equations
this folder includes the interactive example script partialdiffeqs.mlx
that guides students
through an exploration of explicit, implicit, and mixed methods for numerically solving
first-order ordinary differential equations. the activity script implementexplicitsolver.mlx
provides scaffolded checks of each component required for creating explicitpde.m
to solve a
first-order 1-d heat equation. the rest of partialdiffeqs.mlx
builds upon explictpde.m
to
create a related implicit method solver, a crank-nicolson solver, and a combined method solver.
learning goals:
- identify errors from discretizing the problem and from discretizing the method and choose appropriate parameters to minimize overall error.
- explain the importance of stability when choosing a numerical method.
- implement explicit, implicit, and crank-nicolson methods to solve a 1-d heat equation.
products
matlab®, symbolic math toolbox™, statistics and machine learning toolbox™, curve fitting toolbox™, automated driving toolbox™
license
the license for this module is available in the file in this github repository.
support
please contact the
凯发官网入口首页 copyright 2022 the mathworks, inc.
引用格式
emma smith zbarsky (2023). numerical-methods-with-applications (https://github.com/mathworks-teaching-resources/numerical-methods-with-applications/releases/tag/v1.0.10), github. 检索来源 .
matlab 版本兼容性
平台兼容性
windows macos linux标签
社区
community treasure hunt
find the treasures in matlab central and discover how the community can help you!
start hunting!探索实时编辑器
创建集代码、输出和格式化文本于一体的可执行脚本文档。
helperfunctions
interpolation
numericalintegration
numericalodes
numericalpdes
tests
data
derivatives
helperfunctions
interpolation
numericalintegration
numericalodes
numericalpdes
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.10.0 | see release notes for this release on github: |
|
|
1.0.9.0 | see release notes for this release on github: |
|
|
1.0.8.0 | see release notes for this release on github: |
|
|
1.0.7 | see release notes for this release on github: |
|
|
1.0.6 | see release notes for this release on github: |
|
|
1.0.5 | see release notes for this release on github: |
|
|
1.0.4 | see release notes for this release on github: |
|
|
1.0.3 | see release notes for this release on github: |
|
|
1.0.2 | see release notes for this release on github: |
|
|
1.0.1 | see release notes for this release on github: |
|
|
1.0.0 |
|