Final Project Math452 Due 04/03/21
• The methods, implementation and results must be well organized and presented with a typed report.
• It is recommended to use Matlab to perform all the computations, and submit com- mand lines and supporting files.
Solve the boundary value problem using Finite Difference method and Finite Element method with piecewise linear function, respectively. Compare the efficiency of the schemes.
− d (xy′) + 4y = 4×2 − 8x + 1, 0 ≤ x ≤ 1, (1) dx
with boundary condition y(0) = y(1) = 0. The exact solution is known as y = x2 − x. Honors option: Use cubic splines in the Finite Element methods.