Göm meny

15. Numerical methods

Finite difference schemes

Correction! At 10:48, there should be a factor of s in front of the expression (X(k+1)+X(k-1)) / X(k). This affects the rest of the computation too, so that at 12:46 and 13:20, the expression (1-2s-ξ) should be (1-2s-ξ)/s, and at 22:05 there should be an s in front of X(k+1)+X(k-1)) / X(k) again, and also in front of the cosine term on the next line. The expression at 28:39 is correct, however (you see that there the cosine is indeed multiplied by s).

The finite element method (FEM)

A small correction: At 22:55, dΩ should obviously be dV in the integral on the left-hand side, and the integral on the right-hand side should be written with one integral sign only.


Sidansvarig: Hans Lundmark
Senast uppdaterad: 2023-04-24