[SOLVED] CEE6513 Homework 4

25.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (2 votes)

Consider the differential equation for the displacement u of a bar of length L hanging under its own weight (figure):
. (1)
The boundary conditions are:
u(0) = 0, u0(L) = 0. (2)
Solve the above differential equation using the second-order finite-difference method. Compare your numerical results with the theoretical result for different mesh-sizes, and in doing so, show the convergence of the numerical results with mesh-size. Also determine the corresponding convergence rate.
1

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.