How can I solve an ODE when F(x0)=F'(x0)=0 is given at an unknown point x=x0 using bvp5c?

2 次查看(过去 30 天)
Hi, I'm attempting to solve the following ODE using bvp5c. I've used bvp5c for other typical multipoint boundary value problems but I have no idea how to deal with ODEs with conditions given at an unknown point x0.
(x-C)+1/2*Sigma^2*x^2*F''(x) + r*x*F'(x) - r*F(x) = 0 where F(x0) = F'(x0) = 0, x0 is unknown.
I guess I should make use of the parameter in bvp5c (to solve for f(x) and x0 together). Can anyone help me? Thanks in advance.

回答(1 个)

Bill Greene
Bill Greene 2017-7-1
You have a second order ODE so you need two boundary conditions. The term "boundary condition" implies that you know the location(s) where they are prescribed. Your problem description has no criterion for determining x0 so the problem is ill-posed (i.e. doesn't have a solution).

类别

Help CenterFile Exchange 中查找有关 Boundary Value Problems 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by