Non-trivial solutions for a two-point boundary value problem