Dirichlet and Robin boundary condition
7 views (last 30 days)
Show older comments
*I have worked a lot on this problem but unfortunately more I work more get confused , a differential problem whit Dirichlet and Robin boundary condition. And the most difficult thing which I think is the only problem for me is the right boundary condition, while I don't know if I do completely wrong..
How can I solve this differential equation using MATLAB?*
2 Comments
Christian Chamberlayne
on 20 Mar 2020
you can use a shooting method.
use ODE 45 with u(0) = 0 and loop through a set of guesses for u'(0)
Then evaluate your guesses for how close they are to satifying u'(1) + u(1) = 5
converge on the correct guess for u'(0) that meets u'(1) + u(1) = 5
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!