Linear Algebra and Its Applications · Problem 6.5.1

Computations with Matrices — Gilbert Strang

Mathematics · finite-element-method

Problem

Use three hat functions, with h=14h = \frac{1}{4}, to solve −u′′=2-u'' = 2 with u(0)=u(1)=0u(0) = u(1) = 0. Verify that the approximation UU matches u=x−x2u = x - x^2 at the nodes.

Related theory

Browse the problem library