PX153 - E2 - method of undetermined coefficients

f(x) trial solution
polynomial of degree n, eg: x3+2x+1 polynomial of degree n, eg: yp=αx3+βx2+γx+δ
cosqxorsinqx yp=αcosqx+βsinqx
peqx yp(x)=αeqx