FoundationNumeric answer
A finite-difference grid has price points by time steps, stored as float64. How many megabytes does storing the whole grid take (1 MB bytes)?
Answer with a number. Fractions, powers and expressions like 23/6 or C(52,5) are read correctly in practice.
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
Reported in interviews at
More numerical methods questions
- 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
- Stepping the heat equation, part 1 of 3Foundation
- 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
- Stepping the heat equation, part 2 of 3Applied