In: Computer Science
Write an algorithm (i.e. the series of steps) to find the solution to a second order non-homogenous ODE (with boundary conditions) using the method of undetermined coefficients. (Note: this algorithm should include at least 1 control structure).
let ay''+by'+c = r(x) be the second order non-homogenous ODE
steps are as below:-