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

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)?

Step by Step Solution

3.38 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The finite element sample values are c 0 096 168 192 144 0 T b c i The maximal error at the mes... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

952-M-L-A-E (3172).docx

120 KBs Word File

Students Have Also Explored These Related Linear Algebra Questions!