MATLAB solving BVP using bvp4c, variable coefficient
6 次查看(过去 30 天)
显示 更早的评论
Say I have an bvp that involve the equation below

If I was to have enough boundary conditions to satisfy
ODE, would it be possible to solve the
equation simultaneously in order to get a solution for the
equation?
equation simultaneously in order to get a solution for the Ideally
would be a constant coefficient, but as seen with the solutions I am currently getting I'm wondering if the physics involving the currently considered constant coefficient equation
describes the physics incorrectly. I would like to see how the now variable coefficient "
" changes in order to get the
to fit my boundary conditions.
would be a constant coefficient, but as seen with the solutions I am currently getting I'm wondering if the physics involving the currently considered constant coefficient equation
describes the physics incorrectly. I would like to see how the now variable coefficient "
" changes in order to get the Any information or examples would be greatly appreicated!
0 个评论
回答(1 个)
Torsten
2019-3-5
If you make the ansatz
f ( r ) = a0 + a1*r + a2*r^2 + ...+ an *r^n
you will need (n+1) additional boundary conditions to fix the coefficients ai.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!