p''(x) = a (p(x) - b), p(0)=c,p(L)=d