L2

Crank-Nicolson PDE Solver

Senior Quant · Numerical Implementation

Question

Implement a Crank-Nicolson finite-difference solver for the Black-Scholes PDE on a uniform grid. Verify second-order convergence in both space and time by comparing against the closed-form European call price at several grid resolutions. State your boundary conditions explicitly.