Ohmwork
0 XP
A13Math for EE

Numerical methods

Knows how floating-point arithmetic rounds and when cancellation destroys accuracy; separates a problem's conditioning from an algorithm's stability; finds roots by bisection, Newton, secant and safeguarded methods and measures their order of convergence; interpolates with polynomials, Chebyshev nodes and splines; differentiates and integrates numerically with known error terms, including Gaussian and adaptive quadrature; solves linear systems directly with pivoting and iteratively with Jacobi, SOR and conjugate gradients; finds eigenvalues by power iteration and the QR algorithm; solves nonlinear systems by Newton's method, as a circuit simulator does; fits models by least squares and Gauss–Newton and minimizes functions; integrates ODEs with Runge–Kutta methods, adaptive step control and implicit methods for stiff systems; and knows the FFT, Monte Carlo and sparse methods well enough to choose and check them. Every method is written in Python and checked against an exact answer.

0%0 of 55 pages

Test out of A13Already know this? Answer a few questions from its final exam, pass, and the whole course counts as finished.

130 h · 55 pages · After A4, A7, A8

Unit 1Floating point, error and simple iterations5
  1. Floating-point numbers70 min
  2. Rounding error and cancellation65 min
  3. Conditioning and stability70 min
  4. Bisection and fixed-point iteration65 min
  5. Problem set 1Problem set · 4 h
Unit 2Newton, convergence and polynomial roots5
  1. Newton's method and the secant method70 min
  2. Order of convergence and safeguarded root finding65 min
  3. Roots of polynomials1.5 h
  4. Lab: floating point and roots in codeLab · 3 h
  5. Problem set 2Problem set · 4 h
Unit 3Roots, interpolation and derivatives6
  1. Polynomial interpolation65 min
  2. Splines65 min
  3. Chebyshev approximation65 min
  4. Numerical differentiation65 min
  5. Automatic differentiation2 h
  6. Problem set 3Problem set · 4 h
Unit 4Integration rules and hard integrals6
  1. The trapezoid rule and Simpson's rule65 min
  2. Gaussian quadrature65 min
  3. Adaptive quadrature and Romberg integration65 min
  4. Singular, infinite and oscillatory integrals65 min
  5. Lab: approximation and quadrature in codeLab · 3 h
  6. Problem set 4Problem set · 4 h
Unit 5Integration and direct solvers3
  1. Gaussian elimination: pivoting, cost and accuracy70 min
  2. LU and Cholesky factorizations75 min
  3. Problem set 5Problem set · 4 h
  1. Midterm examMidterm · 4 h
Unit 6Iterations, eigenvalues and the SVD7
  1. Iterative linear solvers: Jacobi, Gauss–Seidel and SOR65 min
  2. Conjugate gradients65 min
  3. Preconditioning and multigrid1.5 h
  4. Eigenvalues: power and inverse iteration65 min
  5. The QR algorithm65 min
  6. The singular value decomposition in computation1.5 h
  7. Problem set 6Problem set · 4 h
Unit 7Iterative solvers, eigenvalues and nonlinear systems3
  1. Nonlinear systems: Newton's method in several variables65 min
  2. Lab: linear algebra in codeLab · 3 h
  3. Problem set 7Problem set · 4 h
Unit 8Fitting and optimization3
  1. Least squares and curve fitting65 min
  2. Optimization in one and several variables65 min
  3. Problem set 8Problem set · 4 h
Unit 9Fitting, optimization and ODEs7
  1. ODE solvers: Euler, Runge–Kutta and their errors65 min
  2. Adaptive step-size control65 min
  3. Multistep methods65 min
  4. Stiffness and implicit methods70 min
  5. Boundary-value problems65 min
  6. Lab: ODE and boundary-value solvers in codeLab · 3 h
  7. Problem set 9Problem set · 4 h
Unit 10FFTs, Monte Carlo and sparse matrices4
  1. The FFT as an algorithm65 min
  2. Monte Carlo methods65 min
  3. Sparse matrices65 min
  4. Problem set 10Problem set · 4 h
Unit 11Numerical methods on circuits and signals2
  1. Numerical methods lab: roots, quadrature and an adaptive integratorLab · 2 h
  2. Problem set 11Problem set · 4 h
Unit 12Numerical methods across the course2
  1. Project: a nonlinear circuit simulatorProject · 2 h
  2. Problem set 12Problem set · 4 h
  1. Final examFinal exam · 4 h