CONTENTS

Exercise: Crank-Nicolson convergence rate

For Crank-Nicolson, total error is O(Δt2+ΔS2)O(\Delta t^2 + \Delta S^2). To achieve the optimal balance, take ΔtΔS\Delta t \propto \Delta S.

Tasks

  1. With S0=K=100,T=1,r=0.05,σ=0.2,Smax=400S_0 = K = 100, T = 1, r = 0.05, \sigma = 0.2, S_{\max} = 400, run CN for M{50,100,200,400}M \in \{50, 100, 200, 400\} with N=MN = M. Tabulate error vs Black-Scholes.

  2. Verify O(M2)O(M^{-2}) convergence: error should drop by 4x for each doubling of MM.

  3. Compare with N=M2N = M^2 (over-resolved in time): does the error change much? What does this tell you about which dimension dominates?

  4. Compare with N=M/4N = M/4 (under-resolved in time): when does the time error start to dominate?