Question

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

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).


Solutions

Expert Solution

let ay''+by'+c = r(x) be the  second order non-homogenous ODE

steps are as below:-

  1. find the general solution(Yc) to the homogeneous part of the differential equation(i.e ay''+by'+c =0)
  2. find(or guess) a particular solution for the above equation Yp.
  3. the general solution is the sum of the above two solutions i.e Y=Yc+Yp
  4. put the boundary values in the equation of Y(found in the last step) to find the unknown coefficients in Yc.
  5. The final answer is Y with the unknown coefficients replaces with their found values.

Related Solutions

1) Write an algorithm (i.e. the series of steps) to find the solution to a second...
1) 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). 2) Write an if statement in MATLAB that converts an overall final percentage mark grade (1-7).
Find the general solution y(t) to the following ODE using (a) Method of Undetermined Coefficients AND...
Find the general solution y(t) to the following ODE using (a) Method of Undetermined Coefficients AND (b) Variation of Parameters: 2y"-y'+5y = cos(t) - et Sin(t)
Use the method of Undetermined Coefficients to find the solution of the boundary value problem x^2...
Use the method of Undetermined Coefficients to find the solution of the boundary value problem x^2 y '' + y' + 2y = 6x +2 y(1) = 0 y(2) = 1
a) Using the method of undetermined coefficients, find the general solution of yʺ + 4yʹ −...
a) Using the method of undetermined coefficients, find the general solution of yʺ + 4yʹ − 5y = e^−4x b) Solve xy'=(x+1)y^2 c) Solve the initial value problem : (x−1)yʹ+3y= 1/ (x-1)^2 + sinx/(x-1)^2 , y(0)=3
Find the general solution of the differential equation using the method of undetermined coefficients y" +...
Find the general solution of the differential equation using the method of undetermined coefficients y" + y' - 6y = x^2
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation.
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation. y''+2y'+5y=3sin(2t)
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation.
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation. y''+4y=3csc2t   
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation.
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation. y''+2y'+y=2e^t
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation.
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation.
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation.
Use Method of Undetermined Coefficients te find a particular solution of the non-homogeneous equation. Find general solution of the non-homogeneous equation. y''+2y'+y=2e^{-t}
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT