Infinitely many solutions for a fourth-order boundary-value problem