How can i solve this differential equation by the method of finite difference approche?

4 views (last 30 days)
y"(x)+y'(x)*y(x)+y(x)=0
B.C. : y'(0)=1 and y'(1)=0

Answers (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 19 Jul 2022
There are a few different ways and builtin functions by which your 2nd order BC ODE exercise, e.g.: bvp4c, bvp5c, deval.

John D'Errico
John D'Errico on 19 Jul 2022
Edited: John D'Errico on 19 Jul 2022
Answers is not a service where we do your homework assignments. However, you have now gotten an answer, so I'll point out that you CAN first, write down the finite difference approximations for each derivative. Then the problem becomes one of solving the nonlinear system of equations in the unknown values of the function at each point.
Do some reading, perhaps here:
But then you probably learned about that in class.
Your homework, not mine.

Community Treasure Hunt

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

Start Hunting!