Solve the differential equation in problem 2 using (a) two and (b) three finite elements. Use the

Question:

Solve the differential equation in problem 2 using (a) two and (b) three finite elements. Use the finite element approximation. Plot the exact solution and two and threeelement solutions on the same graph. Similarly, plot the derivative \(\mathrm{d} u / \mathrm{d} x\). Note: The boundary conditions are not homogeneous. The boundary condition \(u(0)=1\) has to be used in solving the final equations.

Data From Problem 2:

Use the Galerkin method to solve the following boundaryvalue problem using a: (a) oneterm approximation and (b) twoterm approximation. Compare your results with the exact solution by plotting them on the same graph.

image text in transcribed

image text in transcribed

Step by Step Answer:

Related Book For  answer-question

Introduction To Finite Element Analysis And Design

ISBN: 9781119078722

2nd Edition

Authors: Nam H. Kim, Bhavani V. Sankar, Ashok V. Kumar

Question Posted: