ExpertMultiple choice
Stepping the heat equation · Part 3 of 3
You price a European option by transforming the Black–Scholes equation into the heat equation and stepping it on a grid with spacing and time step . Write .
You switch to Crank–Nicolson with to take large steps. Prices look fine, but gamma oscillates near the strike for the first few steps. What is the standard fix?
- AStart with a few fully implicit steps, then switch to Crank–Nicolson
- BNothing can be wrong, because Crank–Nicolson is unconditionally stable, so the oscillations must be a coding error
- CSwitch to the explicit scheme at the same step size
- DHalve and keep
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Learn the method
More numerical methods questions
- A finite-difference grid has 1,000 price points by 1,000 time steps, stored as float64.Foundation
- Solve y' = y, y(0) = 1 with forward Euler and step h = 0.5. What is the estimate of y(1)?Foundation
- What is the global order of accuracy of the classical fourth-order Runge–Kutta method?Foundation
- What is the order of accuracy in time of the Crank–Nicolson scheme?Applied
- An explicit scheme for the advection equation uₜ+2uₓ = 0 uses Δx = 0.01.Applied
- An explicit scheme for the heat equation with unit diffusion requires Δt ≤ Δx²/2.Advanced