Bvp4c 2nd order equation with 2nd and 3rd order boundary conditions

3 views (last 30 days)
Hi,
I would like to solve numerically the following equation with a singular term:
but my boundary conditions have second and third order terms:
Does someone have an idea on how to implement those boundary conditions ? Thank you.

Accepted Answer

Torsten
Torsten on 14 Mar 2023
Since you can only impose two boundary conditions for a second-order equation, take the first and the third. They should already suffice to fix a solution.
  3 Comments
Japhten
Japhten on 14 Mar 2023
Also I actually don't know how to implement the second order boundary condition, since it involves the second derivative of w which is not in the solution vector but in its derivative
Torsten
Torsten on 14 Mar 2023
Also I actually don't know how to implement the second order boundary condition, since it involves the second derivative of w which is not in the solution vector but in its derivative4
You are right - only the first boundary condition can be used. You miss a second one. Boundary conditions of order >= the order of the differential equation are not possible to be set.

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!