Solve the following PDE numerically by-hand using FEM, utilising four equisized linear Lagrange elements over the interval x ∈ [0, 1], and compare the solution
obtained with the exact solution.
∇ (−∇u) = 2
u(0) = 1
u(1) = −1
You may use Matlab to solve the resulting 7 × 7 system of equations.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here