1D MLSM and FDM comparison

From Medusa: Coordinate Free Mehless Method implementation
Revision as of 09:32, 13 March 2017 by Jureslak (talk | contribs)

Jump to: navigation, search

Different numerical approaches to solving a Dirichlet or Neumann problem

<math> \begin{align*}

 \text{Dirichlet} && \text{Neumann} \\
 f(x) &= 2x^2+5 \text{ on } (0, 1) &   f(x) &= 2x^2+5 \text{ on } (0, 1)  \\
 f(0) &= 1 & f'(0) &= 1 \\
 f(1) &= 1 & f(1) &= 1 \\
 f(x) &= \frac{1}{6} \left(x^4+15 x^2-16 x+6\right) & f(x) &= \frac{1}{6} \left(x^4+15 x^2+6 x-16\right) 

\end{align*} </math>

were analysed. Theoretically, MLSM formulation and https://en.wikipedia.org/wiki/Finite_difference_method