A13 Numerical methods · Practice
Final exam
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.
Check
Formats.
(a)
Above what integer does an 11-bit format first skip integers?
(b)
What's the relative spacing of doubles at 9?
Check
Cancellation and conditioning.
(a)
The small root of ?
(b)
κ of at 20?
Check
Iterations.
(a)
Error factor of ?
(b)
Order of a method with errors 0.1, 0.001, 1 × 10⁻⁹?
Check
Solve .
(a)
One Newton step from 1?
(b)
One secant step from 1 and 2?
Check
The points (0, 1), (1, 4), (2, 8).
(a)
Interpolating quadratic at 1.5?
(b)
of the natural spline?
Check
Derivatives of , and noise.
(a)
Central difference at 1 with h = 0.2?
(b)
Differencing samples with 3 mV noise, 0.2 ms apart: noise in the derivative?
Write units the way you normally would: 1.5 V/s, 1500 mV/s and 0.0015 kV/s are the same answer.
Check
Quadrature.
(a)
Trapezoid with 3 intervals for ?
(b)
Simpson's error bound on length 2, 80 intervals, 9?
Check
Gauss rules.
(a)
2-point Gauss for ?
(b)
3-point Gauss for ?
Check
Direct solvers.
(a)
One LU of a dense 600 × 600 matrix and 20 solves: operations?
(b)
Its storage?
Check
Iterative solvers.
(a)
for a 30 × 30 grid?
(b)
CG's convergence factor for κ = 100?
Check
Eigenvalues.
(a)
Power iteration's ratio for 7 and 3?
(b)
Rayleigh quotient of (4, 1) for (5, 1; 1, 5)?
Check
Nonlinear systems.
(a)
A diode's companion conductance at 0.58 V?
Write units the way you normally would: 1.5 mS, 1500 µS and 0.0015 S are the same answer.
(b)
det J of at (0.5, 2)?
Check
Fitting and optimization.
(a)
Slope standard error for 10 points at x = 0, 1, ... with σ = 0.1?
(b)
Best fixed gradient-descent step for Hessian eigenvalues 2 to 400?
Check
ODE integration.
(a)
Euler's amplitude growth per period on an oscillator with = 0.05?
(b)
Next RK45 step after err = 4 × 10⁻⁶ on 3 µs with tolerance 1 × 10⁻⁶?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
Stiffness.
(a)
Fastest time constant 1 × 10⁻⁹ s: forward-Euler steps for 0.01 s?
(b)
Trapezoidal factor for τ = 8 µs at h = 500 µs?
Check
FFT and Monte Carlo.
(a)
Multiplications in a -point FFT?
(b)
Monte Carlo samples for standard error 0.001 with s = 0.5?
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