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

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

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

Yes, you're right, thank you ! But if I only had third order ones, would it be possible to do it ?
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
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)

Categories

Products

Release

R2020b

Asked:

on 14 Mar 2023

Commented:

on 14 Mar 2023

Community Treasure Hunt

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

Start Hunting!