The exact solution to the boundary value problem - u = 3x, u(0) = u(1) = 0,

Question:

The exact solution to the boundary value problem
- u" = 3x, u(0) = u(1) = 0, is u(x) = u(x)- 1/2x-1/2x3.
(a) Use the finite element method based on 5 equally spaced nodes to approximate the solution.
(b) Compare the graphs of the exact solution and its piecewise affine finite element approximation. What is the maximal error
(i) at the mesh points?
(ii) on the entire interval?
(c) Suppose you employ a natural cubic spline to interpolate the sample values of the finite element solution at the nodes. How does that affect the errors in part (c)?
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Applied Linear Algebra

ISBN: 978-0131473829

1st edition

Authors: Peter J. Olver, Cheri Shakiban

Question Posted: