Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

HW#1

Advanced Numerical Analysis Spring, 2018

1. One can express u(x) as a linear combination of piecewise basis (trial)


functions introduced in the class.

1 2
Let u (0)  u0  0, u ( )  u1  2, u ( )  u2  4, u (1)  u3  1
3 3
a. Plot u ( x ) as function of x where 0  x  1

1
b. Obtain u ( x ) at x  .
6

d 2u
2. Consider   2 , for 0  x  1, u (0)  0, u (1)  1
dx 2
a. Obtain the exact solution.

b. Solve the above boundary value problem with 4 nodes, 3 element Galerkin
finite element method by hand calculation.

c. Compare your solution with exact solution by plotting them.

You might also like