[Beam]
  free  dx
  fixed EI
  fixed L
  fixed M[:]
  fixed q[:]
  fixed th[:]
  fixed V[:]
  fixed w[:]
  cons (definition of dx)  L = 3⋅dx
  cons (shear integration)  V[:-1] ≥ V[1:] + 0.5⋅dx⋅(q[:-1] + q[1:])
  cons (moment integration)  M[:-1] ≥ M[1:] + 0.5⋅dx⋅(V[:-1] + V[1:])
  cons (theta integration)  th[1:] ≥ th[:-1] + 0.5⋅dx⋅(M[1:] + M[:-1])/EI
  cons (displacement integration)  w[1:] ≥ w[:-1] + 0.5⋅dx⋅(th[1:] + th[:-1])
