Enviar por SMS: The dual variational principle and equilibria for a beam resting on a discontinuous nonlinear elastic foundation