Determine the internal moments at each joint using Slope-deflection equation method. El is constant. Set
w=4k(N)/(m)
.