MATH661 HW09 - Multiple operator approximation

Posted: 11/13/23

Due: 11/20/23, 11:59PM

Investigate various aspects of the Ly=f(y) problem with L a linear operator and f nonlinear. Algorithms will be applied to the Van der Pol oscillator for t[0,250] with μ=1,

x''-μ(1-x2)x'+x=0,x(0)=0,x'(0)=1.

Plots of the solution are typically presented in phase space as (x(t),x'(t)).

1Track 1

  1. Rewrite the second-order ODE as a system of first-order equations 𝒚'=𝒇(t,𝒚).

  2. Carry out a convergence study when applying the single-step Runge-Kutta method

    𝒚n+1=𝒚n+16(𝒌1+2𝒌2+2𝒌3+𝒌4),
    𝒌1=h𝒇(tn,𝒚n) 𝒌2=h𝒇(tn+12h,𝒚n+12𝒌1) 𝒌3=h𝒇(tn+12h,𝒚n+12𝒌2) 𝒌4=h𝒇(tn+h,𝒚n+𝒌3)
  3. Carry out a convergence study when applying the Adams-Bashforth of order 4.

2Track 2

  1. Rewrite the second-order ODE as a system of first-order equations 𝒚'=𝒇(t,𝒚).

  2. Use a symbolic package (e.g., Mathematica) to verify the fourth-order theoretical accuracy of the Runge-Kutta method from Track 1.

  3. Carry out a convergence study using Adams-Moulton of fourth order. This requires knowledge the latest value 𝒚n+1. Approximate this by a predictor 𝒚n+1 obtained by an Adams-Bashforth of fourth order where needed, e.g., 𝒇(𝒚n+1)𝒇(𝒚n+1).