0

given the following ODE:

$$\frac{d^{4}w}{dx^{4}} + B\frac{d^{2}w}{dx^{2}} = 1$$

with boundary conditions $w(0) =0 , w(1) = 0,w'(0) = 0,w'(1) = 0$

its possible to solve analytically but I am attempting to solve it numerically so I can plot and see how the graph changes as I vary the parameter $B$.

in order to solve it numerically i transformed the ODE into a system of first order ODE and i obtained this system:

$$w_{1}' = w_{2}$$

$$w_{2}' = w_{3}$$

$$w_{3}' = w_{4}$$

$$w_{4}' = 1 - B \cdot w_{3}$$

where $w_{1} = w, w_{2} = w',w_{3} = w'',w_{4} = w'''$

given those boundary conditions is there a way to determine calculate the boundary conditions for $w_{3}$ and $w_{4}$ so that can can solve the system numerically?

1 Answers1

3

As mentioned in the comments, you are interested in solving a boundary value problem and not an initial value problem. Some of the most used methods are:

For this particular problem the Ritz method might be a good choice, but in general you are better using the Finite Element Method.

nicoguaro
  • 8,500
  • 6
  • 23
  • 49