Numerics Flashcards
Difference between multi-step and multi-stage methods
Multi-stage: doesn’t use any previously computed values
Multi-step: evaluates F at existing time steps
Which method is AM method identical to?
Trapezoidal Implicit method
Difference between IVP and BVP
IVP: solution is constrained by initial conditions
BVP: solution is constrained by boundary conditions
Total operations/steps of Guassian and LU
NxN matrix
G: O(N^3)
LU: O(N^2)
Q(s)>0
f increases in all directions away from minimum
global minimum
convex
Positive definite matrix
all eigenvalues > 0
H symmetric implies..
think Eigen
its eigenvalues are real and its eigenvectors are orthogonal
What is the Leapfrog scheme derived from?
The centred difference formula
What method is the AM2 identical to?
Trapezoidal Implicit Method
Dirichlet BCs
y(x_j)=a_j j=1 and/or 2
Neumann BCs
y’(x_j)=b_j j=1 and/or 2
Common choice a,b,c,d for RK2
c = d =1/2 a = b = 1
Choice of a,b,c,d for RK2 Heun’s scheme/improved Euler method
c = 0 d = 1; a = b =1/2
RK2 constraints on a,b,c,d
c+d=1
da=db=1/2