
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Algorithm § Problem Matlab Use Case Natural Cubic Spline 3.4 Interpolation ncspline Non-poly. f , many sample points Clamped Cubic Spline 3.4 Interpolation ccspline If f ā²^ is known at endpoints (Spline Evaluation) 3.4 Interpolation splineeval (n+1)-point rule 4.1 Differentiation (Often) with n = 2, 4 and xi = x 0 + ih Richardson Extrap. 4.2 Conv. Accel rich_demo Improving low-order, easily refined methods Newton-Cotes 4.3 Integration Naive method; includes trapezoidal, Simpsonās Composite Integration 4.4 Integration Naive method Romberg Integration 4.5 Integration romberg Certain functions Adaptive (Simpsonās) 4.6 Integration quad Reaching a required tolerance Gaussian Quadrature 4.7 Integration gaussquad Smooth functions Eulerās Method 5.2 IVP Naive method Taylor Methods 5.3 IVP If derivatives of f are known Runge-Kutta Methods 5.4 IVP rk4 If they arenāt; 4th-order typically most useful.
⣠for t in the domain and y in āthe rangeā of f. Details are in 5.1. If f is continuous and a Lips- chitz constant exists, IVP is well-posed: solving a small perturbation of the IVP causes a small error.
actual i+1 āy iactual hi ā^ Ļ(ti, y
actual i , hi).^ Here hi = ti+1 ā ti and a step of the IVP solver is represented as yi+1 = yi + hiĻ(ti, yi, hi). Higher-order Taylor methods and Runge-Kutta methods optimize it (given different information).
1