Numerical methods
A finite-difference grid has 1,000 price points by 1,000 time steps, stored as float64.
FoundationNumeric answer
A finite-difference grid has 1,000 price points by 1,000 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.
Report an issue with this question
Learn the method
Of the kind reported at
More numerical methods questions
- An explicit scheme for the heat equation with unit diffusion requires Δt ≤ Δx²/2.Advanced · Premium
- Stepping the heat equation, part 3 of 3Expert · Premium
- Solve y' = y, y(0) = 1 with forward Euler and step h = 0.5. What is the estimate of y(1)?Foundation · Premium
- What is the global order of accuracy of the classical fourth-order Runge–Kutta method?Foundation · Premium
- Stepping the heat equation, part 1 of 3Foundation · Premium
- What is the order of accuracy in time of the Crank–Nicolson scheme?Applied · Premium