Text this: Elliptic problems with nonmonotone discontinuities at resonance