Implicit Boundary Value Problem
Show older comments
Is there a way in Matlab to use the bvp4c or bvp5c functions to solve a system consisting of boundary value and algebraic equations where the deifinction of at least one of the derivatives is implicit?
The system looks somewhat like this:
dY(1)/dx=a
dY(2)/dx=f(Y(1),Y(3))
g(Y(2),Y(3))*[dY(1)/dx]+h(Y(2),Y(3))=0
B.C.:
yb(1)=0
ya(2)=ya(3)=0
where a and K are constants and f, g, h and j are functions relating Y(1) and Y(3) to each other. Naturally, the boundary conditions are known.
8 Comments
J. Alex Lee
on 27 Feb 2020
Are you sure about the equations themselves? In this particular case, can't you just divide Eq.2 by f and Eq.3 by h to put dY2/dx on the LHS? In which case you have 2 disparate expressions for the same variable Y2...
Saeid
on 27 Feb 2020
darova
on 27 Feb 2020
What are functions f() and g()? Is it possible to express Y(3)?
g(Y(2),Y(3))*[dY(1)/dx]+h(Y(2),Y(3))=0
Saeid
on 27 Feb 2020
darova
on 27 Feb 2020
I think it's possible to solve such system of equations.
Can you attach the whole code? Do you have any attempts?
darova
on 27 Feb 2020
But as soon as possible
Saeid
on 27 Feb 2020
darova
on 27 Feb 2020
Please attach the functions
Accepted Answer
More Answers (0)
Categories
Find more on Structural Mechanics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!