Existence of a solution of a three-point boundary value problem and the spectral radius of a related linear operator