A13 Numerical methods · Practice
Problem set 12: numerical methods across the course
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 15 kinds solid
Check
Spacing and epsilon.
(a)
What's the spacing of doubles near 3000?
(b)
What's the best central-difference step in a 24-bit format?
Check
Cancellation and conditioning.
(a)
About how many digits does lose?
(b)
Least squares by the normal equations with : digits left?
Check
Root finding.
(a)
Bisection steps from a bracket 1 wide to within 1 × 10⁻⁶?
(b)
A linear iteration with rate 0.8: steps for 12 digits?
Check
Newton's method.
(a)
One step toward from 2?
(b)
Its rate at a root of multiplicity 5?
Check
Tables and nodes.
(a)
Worst linear-interpolation error of a 256-entry sine table?
(b)
Chebyshev node for n = 6?
Check
Quadrature.
(a)
One-panel Simpson for ?
(b)
2-point Gauss for ?
Check
Dense and sparse storage.
(a)
LU of a dense 3000 × 3000 matrix at 100 GFLOP/s?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
CSR storage with 9 nonzeros per row?
Check
Iterative solvers.
(a)
SOR sweeps at for a 64 × 64 grid, 6 digits?
(b)
CG steps for κ = 90000, 6 digits?
Check
The matrix (3, 1; 1, 2).
(a)
Its larger eigenvalue?
(b)
Its off-diagonal after one unshifted QR step?
Check
Steps and stiffness.
(a)
One Euler step on from 1 with h = 0.01?
(b)
Backward Euler's factor for a mode with τ = 0.5 µs at h = 100 µs?
Check
FFTs.
(a)
Speedup of a -point FFT over a direct DFT?
(b)
Power-of-two length to convolve 1500 samples with 600 taps?
Check
Monte Carlo.
(a)
Samples for a standard error of 0.001 with s = 0.3?
(b)
Standard error of a yield of 0.97 from 20000 trials?
Check
The constant term of changes by 0.001.
(a)
About how far does the root at 3 move?
Check
A Chebyshev low-pass filter has ripple factor ε = 0.5.
(a)
What is its passband ripple?
Check
The 2D model problem on a 200 × 200 grid is solved by CG to .
(a)
About how many steps does it take?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in A13