Below is the governing differential equation of one-dimensional bar under uniformly distributed load. Using one bar element, calculate the displacement at x = L and x = 1/2L.
Compare these displacements with that of the exact calculation. (Note: the exact solution can be calculated by integrating the differential equation twice.)
