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

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.

du +x=0, 0x1 dr u(0)=1 Boundary conditions. u(1)=0

image text in transcribed

du +x=0, 0x1 dr u(0)=1 Boundary conditions. u(1)=0

Step by Step Solution

3.44 Rating (144 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Systems Analysis And Design Questions!