For the bar hanging under its own weight shown in Figure, determine the nodal displacements using (a) two equal-length elements and (b) four equal-length elements. Let A = 2 in2, E = 30 106 psi, and weight density rw = 0:283 lb/in3.
(Hint: The internal force is a function of x. Use the potential energy approach.)