1D Cantilever Beam problem

I see. Thanks a lot!